Less aggressive LD_LIBRARY_PATH seems to avoid segfault

This commit is contained in:
Michael Raskin 2013-12-29 18:51:29 +04:00
parent e860eef8f3
commit f1daf24bea

View File

@ -26,7 +26,8 @@ let
C_INCLUDE_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/include") buildInputs);
LIBRARY_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/lib") buildInputs);
LD_LIBRARY_PATH = LIBRARY_PATH;
LD_LIBRARY_PATH = stdenv.lib.concatStringsSep ":" (map (p: "${p}/lib")
(stdenv.lib.filter (x : x.outPath != stdenv.gcc.libc.outPath or "") buildInputs));
preConfigure = ''
substituteInPlace Makefile \