Merge pull request #35203 from manveru/patch-1

gem-config: add ethon
This commit is contained in:
Jörg Thalheim 2018-02-20 10:39:42 +00:00 committed by GitHub
commit c7b340a1c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,6 +87,14 @@ in
sed -i $installPath/lib/dep-selector-libgecode.rb -e 's@VENDORED_GECODE_DIR =.*@VENDORED_GECODE_DIR = "${gecode_3}"@'
'';
};
ethon = attrs: {
dontBuild = false;
postPatch = ''
substituteInPlace lib/ethon/curls/settings.rb \
--replace "libcurl" "${curl.out}/lib/libcurl${stdenv.hostPlatform.extensions.sharedLibrary}"
'';
};
eventmachine = attrs: {
buildInputs = [ openssl ];