diff options
author | Peter Simons <simons@cryp.to> | 2011-08-29 07:49:35 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2011-08-29 07:49:35 +0000 |
commit | f990dd30f7ece188db0236ce7e17f552bc308803 (patch) | |
tree | e18f18d277bb86e83514271723ee4c249af28e27 /pkgs/development/compilers/ghc | |
parent | 7d9c4b06ad52a9bbd91fe8f507890e8fbb12fa38 (diff) | |
download | nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar.gz nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar.bz2 nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar.lz nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar.xz nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.tar.zst nixlib-f990dd30f7ece188db0236ce7e17f552bc308803.zip |
pkgs/development/compilers/ghc/7.0.4-binary.nix: added (untested) support for i686-darwin
svn path=/nixpkgs/trunk/; revision=28866
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/7.0.4-binary.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/7.0.4-binary.nix b/pkgs/development/compilers/ghc/7.0.4-binary.nix index 2f6365317187..c9e8e6a332bc 100644 --- a/pkgs/development/compilers/ghc/7.0.4-binary.nix +++ b/pkgs/development/compilers/ghc/7.0.4-binary.nix @@ -1,7 +1,7 @@ {stdenv, fetchurl, perl, ncurses, gmp}: let - supportedPlatforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"]; + supportedPlatforms = ["x86_64-linux" "i686-linux" "i686-darwin" "x86_64-darwin"]; in assert stdenv.lib.elem stdenv.system supportedPlatforms; @@ -22,6 +22,11 @@ stdenv.mkDerivation rec { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-unknown-linux.tar.bz2"; sha256 = "0mc4rhqcxz427wq4zgffmnn0d2yjqvy6af4x9mha283p1gdj5q99"; } + else if stdenv.system == "i686-darwin" then + fetchurl { + url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-apple-darwin.tar.bz2"; + sha256 = "0qj45hslrrr8zfks8m1jcb3awwx9rh35ndnpfmb0gwb6j7azq5n3"; + } else if stdenv.system == "x86_64-darwin" then fetchurl { url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-apple-darwin.tar.bz2"; |