ghc-6.10.2-binary: Remove dead Darwin code

This looks like a WIP attempt from 2008

-22
-22
pkgs/development/compilers/ghc/6.10.2-binary.nix
··· 58 58 # calls install-strip ... 59 59 dontBuild = true; 60 60 61 - # The binaries for Darwin use frameworks, so fake those frameworks, 62 - # and create some wrapper scripts that set DYLD_FRAMEWORK_PATH so 63 - # that the executables work with no special setup. 64 61 postInstall = 65 - (if stdenv.isDarwin then 66 - '' 67 - mkdir -p $out/frameworks/GMP.framework/Versions/A 68 - ln -s ${gmp.out}/lib/libgmp.dylib $out/frameworks/GMP.framework/GMP 69 - ln -s ${gmp.out}/lib/libgmp.dylib $out/frameworks/GMP.framework/Versions/A/GMP 70 - # !!! fix this 71 - mkdir -p $out/frameworks/GNUeditline.framework/Versions/A 72 - ln -s ${libedit}/lib/libeditline.dylib $out/frameworks/GNUeditline.framework/GNUeditline 73 - ln -s ${libedit}/lib/libeditline.dylib $out/frameworks/GNUeditline.framework/Versions/A/GNUeditline 74 - 75 - mv $out/bin $out/bin-orig 76 - mkdir $out/bin 77 - for i in $(cd $out/bin-orig && ls); do 78 - echo \"#! $SHELL -e\" >> $out/bin/$i 79 - echo \"DYLD_FRAMEWORK_PATH=$out/frameworks exec $out/bin-orig/$i -framework-path $out/frameworks \\\"\\$@\\\"\" >> $out/bin/$i 80 - chmod +x $out/bin/$i 81 - done 82 - '' else "") 83 - + 84 62 '' 85 63 # bah, the passing gmp doesn't work, so let's add it to the final package.conf in a quick but dirty way 86 64 sed -i "s@^\(.*pkgName = PackageName \"rts\".*\libraryDirs = \\[\)\(.*\)@\\1\"${gmp.out}/lib\",\2@" $out/lib/ghc-${version}/package.conf