summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-08-29 08:00:55 +0000
committerShea Levy <shea@shealevy.com>2011-08-29 08:00:55 +0000
commit9381f1a419f1165b47a1ffe20fb3eeb0fee641b3 (patch)
tree9c25fd9b21218bb3d4aa95f7a881f2cde65a21a5 /pkgs/development/compilers/ghc
parente211161c2c5e6f878940122fbf074985ab7ec46c (diff)
downloadnixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar.gz
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar.bz2
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar.lz
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar.xz
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.tar.zst
nixpkgs-9381f1a419f1165b47a1ffe20fb3eeb0fee641b3.zip
ghc-7.0.4-binary.nix: don't wrap the binaries on darwin
ghc-7.0.4 fails at configure with the wrapped binaries and builds fine with the unwrapped binaries.

svn path=/nixpkgs/trunk/; revision=28868
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/7.0.4-binary.nix19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkgs/development/compilers/ghc/7.0.4-binary.nix b/pkgs/development/compilers/ghc/7.0.4-binary.nix
index c9e8e6a332b..e696ddaf9ce 100644
--- a/pkgs/development/compilers/ghc/7.0.4-binary.nix
+++ b/pkgs/development/compilers/ghc/7.0.4-binary.nix
@@ -83,26 +83,7 @@ stdenv.mkDerivation rec {
   # and create some wrapper scripts that set DYLD_FRAMEWORK_PATH so
   # that the executables work with no special setup.
   postInstall =
-    (if stdenv.isDarwin then
       ''
-        ensureDir $out/frameworks/GMP.framework/Versions/A
-        ln -s ${gmp}/lib/libgmp.dylib $out/frameworks/GMP.framework/GMP
-        ln -s ${gmp}/lib/libgmp.dylib $out/frameworks/GMP.framework/Versions/A/GMP
-        # !!! fix this
-
-        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}/lib\",\2@" $out/lib/ghc-${version}/package.conf
-
         # Sanity check, can ghc create executables?
         cd $TMP
         mkdir test-ghc; cd test-ghc