ruby: move jemalloc to propagatedBuildInputs
Alternative malloc implementations in ruby are not fully encapsulated. Their header files are required when building gems with native extensions, like bcrypt.
This commit is contained in:
@@ -79,13 +79,13 @@ let
|
||||
++ (op opensslSupport openssl)
|
||||
++ (op gdbmSupport gdbm)
|
||||
++ (op yamlSupport libyaml)
|
||||
++ (op jemallocSupport jemalloc)
|
||||
# Looks like ruby fails to build on darwin without readline even if curses
|
||||
# support is not enabled, so add readline to the build inputs if curses
|
||||
# support is disabled (if it's enabled, we already have it) and we're
|
||||
# running on darwin
|
||||
++ op (!cursesSupport && stdenv.isDarwin) readline
|
||||
++ ops stdenv.isDarwin [ libiconv libobjc libunwind Foundation ];
|
||||
propagatedBuildInputs = op jemallocSupport jemalloc;
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user