gem-config: add ethon
The Ethon gem uses libcurl.so at runtime via FFI, so we need to specify the correct location.
This commit is contained in:
parent
7cb7d2a4dc
commit
895b1cb1b0
@ -88,6 +88,14 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ethon = attrs: {
|
||||||
|
dontBuild = false;
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace lib/ethon/curls/settings.rb \
|
||||||
|
--replace "libcurl" "${curl.out}/lib/libcurl.so"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
eventmachine = attrs: {
|
eventmachine = attrs: {
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user