diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-09-22 19:44:06 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-09-22 19:53:28 -0400 |
commit | d72647bc055842e8bf65443b331f8a88808e5e15 (patch) | |
tree | 20dc56bf18b1dd025f69f65c0650a50be7ab47ce /pkgs/development | |
parent | b9bf90ca6c7d980c9ff34d67fb3950c47b6be6b8 (diff) | |
download | nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar.gz nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar.bz2 nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar.lz nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar.xz nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.tar.zst nixlib-d72647bc055842e8bf65443b331f8a88808e5e15.zip |
ghc-6.10.2-binary: Remove dead Darwin code
This looks like a WIP attempt from 2008
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/compilers/ghc/6.10.2-binary.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.2-binary.nix b/pkgs/development/compilers/ghc/6.10.2-binary.nix index 60749a29b58b..1b9d81d2f121 100644 --- a/pkgs/development/compilers/ghc/6.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/6.10.2-binary.nix @@ -58,29 +58,7 @@ stdenv.mkDerivation rec { # calls install-strip ... dontBuild = 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. postInstall = - (if stdenv.isDarwin then - '' - mkdir -p $out/frameworks/GMP.framework/Versions/A - ln -s ${gmp.out}/lib/libgmp.dylib $out/frameworks/GMP.framework/GMP - ln -s ${gmp.out}/lib/libgmp.dylib $out/frameworks/GMP.framework/Versions/A/GMP - # !!! fix this - mkdir -p $out/frameworks/GNUeditline.framework/Versions/A - ln -s ${libedit}/lib/libeditline.dylib $out/frameworks/GNUeditline.framework/GNUeditline - ln -s ${libedit}/lib/libeditline.dylib $out/frameworks/GNUeditline.framework/Versions/A/GNUeditline - - mv $out/bin $out/bin-orig - mkdir $out/bin - for i in $(cd $out/bin-orig && ls); do - echo \"#! $SHELL -e\" >> $out/bin/$i - echo \"DYLD_FRAMEWORK_PATH=$out/frameworks exec $out/bin-orig/$i -framework-path $out/frameworks \\\"\\$@\\\"\" >> $out/bin/$i - chmod +x $out/bin/$i - done - '' else "") - + '' # bah, the passing gmp doesn't work, so let's add it to the final package.conf in a quick but dirty way sed -i "s@^\(.*pkgName = PackageName \"rts\".*\libraryDirs = \\[\)\(.*\)@\\1\"${gmp.out}/lib\",\2@" $out/lib/ghc-${version}/package.conf |