From a21df5e1720e094b22f07a521aba6b6b76bf5217 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sat, 13 Feb 2010 16:48:12 +0000 Subject: [PATCH] I'll try to remove the hydra evaluation errors (throws) about ghc bootstrapping. svn path=/nixpkgs/trunk/; revision=19981 --- pkgs/development/compilers/ghc/6.10.1-binary.nix | 2 ++ pkgs/development/compilers/ghc/6.10.2-binary.nix | 2 ++ pkgs/development/compilers/ghc/6.4.2-binary.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pkgs/development/compilers/ghc/6.10.1-binary.nix b/pkgs/development/compilers/ghc/6.10.1-binary.nix index dd6e7890e1d..89ebfb0dc13 100644 --- a/pkgs/development/compilers/ghc/6.10.1-binary.nix +++ b/pkgs/development/compilers/ghc/6.10.1-binary.nix @@ -1,5 +1,7 @@ {stdenv, fetchurl, perl, libedit, ncurses, gmp}: +assert stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; + stdenv.mkDerivation rec { version = "6.10.1"; diff --git a/pkgs/development/compilers/ghc/6.10.2-binary.nix b/pkgs/development/compilers/ghc/6.10.2-binary.nix index e00702b8d84..85c678ffbfb 100644 --- a/pkgs/development/compilers/ghc/6.10.2-binary.nix +++ b/pkgs/development/compilers/ghc/6.10.2-binary.nix @@ -1,5 +1,7 @@ {stdenv, fetchurl, perl, libedit, ncurses, gmp}: +assert stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; + stdenv.mkDerivation rec { version = "6.10.2"; diff --git a/pkgs/development/compilers/ghc/6.4.2-binary.nix b/pkgs/development/compilers/ghc/6.4.2-binary.nix index 31777244521..b20b7369d30 100644 --- a/pkgs/development/compilers/ghc/6.4.2-binary.nix +++ b/pkgs/development/compilers/ghc/6.4.2-binary.nix @@ -1,5 +1,7 @@ {stdenv, fetchurl, perl, readline, ncurses, gmp}: +assert stdenv.system == "i686-darwin" || stdenv.system == "x86_64-linux" || stdenv.system == "i686-linux"; + stdenv.mkDerivation { name = if stdenv.system == "i686-darwin" then "ghc-6.6.1-binary" else "ghc-6.4.2-binary";