diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-22 12:25:00 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2008-02-22 12:25:00 +0000 |
commit | 3e72751bd99f1d40760796f34c45e00deef680b6 (patch) | |
tree | 1ad024470b44435fd09824547991ab11211181e5 /pkgs/development/compilers/ghc | |
parent | 212148ec84ab2129abe19a42676da20fcac0563c (diff) | |
download | nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar.gz nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar.bz2 nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar.lz nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar.xz nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.tar.zst nixlib-3e72751bd99f1d40760796f34c45e00deef680b6.zip |
* 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
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/boot.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/boot.nix b/pkgs/development/compilers/ghc/boot.nix index ab606d4c2baa..254a9fb855a0 100644 --- a/pkgs/development/compilers/ghc/boot.nix +++ b/pkgs/development/compilers/ghc/boot.nix @@ -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. |