* ghcboot was broken: the combination of patchelf and strip -S generates

broken binaries (NIXPKGS-85).  Worked around by not stripping.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10831
This commit is contained in:
Eelco Dolstra
2008-02-22 12:25:00 +00:00
parent 212148ec84
commit 3e72751bd9
2 changed files with 13 additions and 11 deletions

View File

@@ -31,6 +31,10 @@ stdenv.mkDerivation {
--set-rpath \"${readline}/lib:${ncurses}/lib:${gmp}/lib\" {} \\;
" else "";
# Stripping combined with patchelf breaks the executables (they die
# with a segfault or the kernel even refuses the execve). (NIXPKGS-85)
dontStrip = true;
# The binaries for Darwin use frameworks, so fake those frameworks,
# and create some wrapper scripts that set DYLD_FRAMEWORK_PATH so
# that the executables work with no special setup.