* Work around /bin/sh being broken by an LD_LIBRARY_PATH that contains

another Glibc.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15470
This commit is contained in:
Eelco Dolstra
2009-05-06 13:49:12 +00:00
parent f51b3b5550
commit 89b8ab2d78
2 changed files with 15 additions and 1 deletions

View File

@@ -77,7 +77,8 @@ rec {
param1 = bootstrapTools;
preHook = builtins.toFile "prehook.sh"
''
export LD_LIBRARY_PATH=$param1/lib
# Put libpthread.so in LD_LIBRARY_PATH; some libraries need it.
export LD_LIBRARY_PATH=$param1/lib2
# Don't patch #!/interpreter because it leads to retained
# dependencies on the bootstrapTools in the final stdenv.
dontPatchShebangs=1