summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-07-13 12:00:19 +0000
committerPeter Simons <simons@cryp.to>2011-07-13 12:00:19 +0000
commit78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c (patch)
tree0d1558c386ba92b732276439d572dc42738510de /pkgs
parent35505a442ef53519a008e8e741d69fab9f4ae360 (diff)
downloadnixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar.gz
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar.bz2
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar.lz
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar.xz
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.tar.zst
nixlib-78ccc14e3eac5d4d5184b61d4cdb7e95990b7c6c.zip
ghc-6.10.1-binary: revert blind attempt to bootstrap GHC on x86_64-darwin with the i686 version of this compiler
Hydra says that we can *not* use the i686 compiler to bootstrap x86_64 on Darwin. Duh.

svn path=/nixpkgs/trunk/; revision=27753
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/ghc/6.10.1-binary.nix11
1 files changed, 3 insertions, 8 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.1-binary.nix b/pkgs/development/compilers/ghc/6.10.1-binary.nix
index 7052d6211bb0..459a1b94724d 100644
--- a/pkgs/development/compilers/ghc/6.10.1-binary.nix
+++ b/pkgs/development/compilers/ghc/6.10.1-binary.nix
@@ -1,6 +1,6 @@
 {stdenv, fetchurl, perl, libedit, ncurses, gmp}:
 
-assert stdenv.system == "x86_64-darwin" || stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
+assert stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux";
 
 stdenv.mkDerivation rec {
   version = "6.10.1";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
         url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-unknown-linux.tar.bz2";
         sha256 = "14jvvn333i36wm7mmvi47jr93f5hxrw1h2dpjvqql0rp00svhzzg";
       }
-    else if (stdenv.system == "i686-darwin" || stdenv.system == "x86_64-darwin") then
+    else if stdenv.system == "i686-darwin" then
       fetchurl {
         # Idem.
         url = "http://haskell.org/ghc/dist/${version}/maeder/ghc-${version}-i386-apple-darwin.tar.bz2";
@@ -100,10 +100,5 @@ stdenv.mkDerivation rec {
         [ $(./main) == "yes" ]
       '';
 
-  meta = {
-    homepage = "http://haskell.org/ghc";
-    description = "The Glasgow Haskell Compiler";
-    maintainers = [ stdenv.lib.maintainers.simons ];
-    platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
-  };
+  meta.platforms = [ "i686-darwin" "x86_64-linux" "i686-linux"] ;
 }