about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-13 21:25:14 +0100
committerPeter Simons <simons@cryp.to>2015-01-13 21:25:14 +0100
commitddf0804a87361cfa12851d0f84429822d9d0929f (patch)
treec05c2a5e6b674c517cc6fa78c26a509232bbc015 /pkgs
parentb97c29330d5bf3c8045e3dcbfc15e98e8f82bb7a (diff)
downloadnixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar.gz
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar.bz2
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar.lz
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar.xz
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.tar.zst
nixlib-ddf0804a87361cfa12851d0f84429822d9d0929f.zip
ghc-7.8.3-binary: remove broken platforms
The source tarballs URLs and hashes for everything but x86_64-darwin
were just copied from the 7.0.4 binaries. That's not going to work. :-(
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/compilers/ghc/7.8.3-binary.nix19
1 files changed, 2 insertions, 17 deletions
diff --git a/pkgs/development/compilers/ghc/7.8.3-binary.nix b/pkgs/development/compilers/ghc/7.8.3-binary.nix
index a84b03fa0dd2..91a156ab4e26 100644
--- a/pkgs/development/compilers/ghc/7.8.3-binary.nix
+++ b/pkgs/development/compilers/ghc/7.8.3-binary.nix
@@ -6,22 +6,7 @@ stdenv.mkDerivation rec {
   name = "ghc-${version}-binary";
 
   src =
-    if stdenv.system == "i686-linux" then
-      fetchurl {
-        url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-unknown-linux.tar.bz2";
-        sha256 = "0gny7knhss0w0d9r6jm1gghrcb8kqjvj94bb7hxf9syrk4fxlcxi";
-      }
-    else if stdenv.system == "x86_64-linux" then
-      fetchurl {
-        url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-unknown-linux.tar.bz2";
-        sha256 = "043jabd0lh6n1zlqhysngbpvlsdznsa2mmsj08jyqgahw9sjb5ns";
-      }
-    else if stdenv.system == "i686-darwin" then
-      fetchurl {
-        url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-apple-darwin.tar.bz2";
-        sha256 = "1vrbs3pzki37hzym1f1nh07lrqh066z3ypvm81fwlikfsvk4djc0";
-      }
-    else if stdenv.system == "x86_64-darwin" then
+    if stdenv.system == "x86_64-darwin" then
       fetchurl {
         url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-apple-darwin.tar.bz2";
         sha256 = "1ja0cq5xyjcvjpvjmm4nzhkpmwfs2kjlldbc48lxcs9rmqi7rnay";
@@ -89,5 +74,5 @@ stdenv.mkDerivation rec {
       '';
 
   meta.license = stdenv.lib.licenses.bsd3;
-  meta.platforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"];
+  meta.platforms = ["x86_64-darwin"];
 }