diff --git a/pkgs/development/compilers/ghc/6.12.1.nix b/pkgs/development/compilers/ghc/6.12.1.nix index 66b277dc3766..4014b6fe90ce 100644 --- a/pkgs/development/compilers/ghc/6.12.1.nix +++ b/pkgs/development/compilers/ghc/6.12.1.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0ajm4sypk4zgjp0m6i03fadyv5dm9vlqfnvsx1g94yk7vnd9zyfd"; }; - buildInputs = [ghc perl gmp ncurses]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/6.12.2.nix b/pkgs/development/compilers/ghc/6.12.2.nix index a7252a7931df..993f2fa3db5f 100644 --- a/pkgs/development/compilers/ghc/6.12.2.nix +++ b/pkgs/development/compilers/ghc/6.12.2.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "7f1e39f0b3ddaca35b55cd430ca058d1c4678445a7177391c9cb6342b7c41a30"; }; - buildInputs = [ghc perl gmp ncurses]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/6.12.3.nix b/pkgs/development/compilers/ghc/6.12.3.nix index a1cc16e1f9e6..ca5fcbd7c5f0 100644 --- a/pkgs/development/compilers/ghc/6.12.3.nix +++ b/pkgs/development/compilers/ghc/6.12.3.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0s2y1sv2nq1cgliv735q2w3gg4ykv1c0g1adbv8wgwhia10vxgbc"; }; - buildInputs = [ghc perl gmp ncurses]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.0.1.nix b/pkgs/development/compilers/ghc/7.0.1.nix index 3f992bb16ff9..aff5f1a0b25a 100644 --- a/pkgs/development/compilers/ghc/7.0.1.nix +++ b/pkgs/development/compilers/ghc/7.0.1.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1iciljngxmqy465cw3pkl6jp0ydiils4bfz6ixfaxk7aqv7r7xsi"; }; - buildInputs = [ghc perl gmp ncurses]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.0.2.nix b/pkgs/development/compilers/ghc/7.0.2.nix index 3fb982e2a710..701f2128c82c 100644 --- a/pkgs/development/compilers/ghc/7.0.2.nix +++ b/pkgs/development/compilers/ghc/7.0.2.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "f0551f1af2f008a8a14a888b70c0557e00dd04f9ae309ac91897306cd04a6668"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.0.3.nix b/pkgs/development/compilers/ghc/7.0.3.nix index b20407513706..5af322bbad56 100644 --- a/pkgs/development/compilers/ghc/7.0.3.nix +++ b/pkgs/development/compilers/ghc/7.0.3.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1nfc2c6bdcdfg3f3d9q5v109jrrwhz6by3qa4qi7k0xbip16jq8m"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.0.4.nix b/pkgs/development/compilers/ghc/7.0.4.nix index bcce5ec03aef..34e8748dab11 100644 --- a/pkgs/development/compilers/ghc/7.0.4.nix +++ b/pkgs/development/compilers/ghc/7.0.4.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1a9b78d9d66c9c21de6c0932e36bb87406a4856f1611bf83bd44539bdc6ed0ed"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.2.1.nix b/pkgs/development/compilers/ghc/7.2.1.nix index 5a3af0f6492d..70a08a4867f5 100644 --- a/pkgs/development/compilers/ghc/7.2.1.nix +++ b/pkgs/development/compilers/ghc/7.2.1.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "099w2bvx07jq4b1k8f1hspri30wbk35dz6ilsivxr2xg661c2qjm"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.2.2.nix b/pkgs/development/compilers/ghc/7.2.2.nix index 51d94af40516..abfcc5d166c9 100644 --- a/pkgs/development/compilers/ghc/7.2.2.nix +++ b/pkgs/development/compilers/ghc/7.2.2.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0g87d3z9275dniaqzkf56qfgzp1msd89nqqhhm2gkc6iga072spz"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.4.1.nix b/pkgs/development/compilers/ghc/7.4.1.nix index f666299c5b05..01e5e99a99dc 100644 --- a/pkgs/development/compilers/ghc/7.4.1.nix +++ b/pkgs/development/compilers/ghc/7.4.1.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0ycscsagyy9n796a59q6761s6ar50d8inibvnrcp96siksj0j73j"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.4.2.nix b/pkgs/development/compilers/ghc/7.4.2.nix index 2f577f12bc46..654df2c22f72 100644 --- a/pkgs/development/compilers/ghc/7.4.2.nix +++ b/pkgs/development/compilers/ghc/7.4.2.nix @@ -10,8 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0vc3zmxqi4gflssmj35n5c8idbvyrhd88abi50whbirwlf4i5vpj"; }; - buildInputs = [ ghc perl gmp ncurses ]; - + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.6.1.nix b/pkgs/development/compilers/ghc/7.6.1.nix index 8f1a69519669..86caf7d0baaf 100644 --- a/pkgs/development/compilers/ghc/7.6.1.nix +++ b/pkgs/development/compilers/ghc/7.6.1.nix @@ -10,7 +10,8 @@ stdenv.mkDerivation rec { sha256 = "1q5rqp8z90mq6ysf7h28zkbhfaxlrpva2qy0wnkr43d7214dzp7i"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.6.2.nix b/pkgs/development/compilers/ghc/7.6.2.nix index d2ea2ebce053..42572aa13c98 100644 --- a/pkgs/development/compilers/ghc/7.6.2.nix +++ b/pkgs/development/compilers/ghc/7.6.2.nix @@ -10,8 +10,8 @@ stdenv.mkDerivation rec { sha256 = "d5f45184abeacf7e9c6b4f63c7101a5c1d7b4fe9007901159e2287ecf38de533"; }; - buildInputs = [ ghc perl gmp ncurses ]; - + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.6.3.nix b/pkgs/development/compilers/ghc/7.6.3.nix index 9866ea38e86a..5e4ac83b2c35 100644 --- a/pkgs/development/compilers/ghc/7.6.3.nix +++ b/pkgs/development/compilers/ghc/7.6.3.nix @@ -17,7 +17,8 @@ in stdenv.mkDerivation rec { sha256 = "1669m8k9q72rpd2mzs0bh2q6lcwqiwd1ax3vrard1dgn64yq4hxx"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; buildMK = '' libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib" diff --git a/pkgs/development/compilers/ghc/7.8.4.nix b/pkgs/development/compilers/ghc/7.8.4.nix index ccc3f4c875ba..bc7fbe96f31a 100644 --- a/pkgs/development/compilers/ghc/7.8.4.nix +++ b/pkgs/development/compilers/ghc/7.8.4.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1i4254akbb4ym437rf469gc0m40bxm31blp6s1z1g15jmnacs6f3"; }; - buildInputs = [ ghc perl gmp ncurses ]; + buildInputs = [ ghc perl ]; + propagatedBuildInputs = [ gmp ncurses ]; enableParallelBuilding = true; diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix index c79cdfbe3423..8b1068c096b2 100644 --- a/pkgs/development/compilers/ghc/head.nix +++ b/pkgs/development/compilers/ghc/head.nix @@ -9,7 +9,8 @@ stdenv.mkDerivation rec { sha256 = "0nncvvwksqqz1d991jbag3b4174i275nn0psadriq5hi3px11dkl"; }; - buildInputs = [ ghc perl ncurses happy alex ]; + buildInputs = [ ghc perl happy alex ]; + propagatedBuildInputs = [ gmp ncurses ]; preConfigure = '' echo >mk/build.mk "DYNAMIC_BY_DEFAULT = NO" diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix index 55d2395cdcb0..68f2a0a31ba5 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.6.x.nix @@ -16,7 +16,7 @@ self: super: { directory = null; filepath = null; ghc-prim = null; - haskeline = self.haskeline_0_7_1_3; # GHC's version is broken: https://github.com/NixOS/nixpkgs/issues/5616. + haskeline = null; haskell2010 = null; haskell98 = null; hoopl = null; @@ -28,7 +28,7 @@ self: super: { process = null; rts = null; template-haskell = null; - terminfo = self.terminfo_0_4_0_0; # GHC's version is broken: https://github.com/NixOS/nixpkgs/issues/5616. + terminfo = null; time = null; unix = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix index 63e49196580f..6832f00a75ab 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-7.8.x.nix @@ -16,7 +16,7 @@ self: super: { directory = null; filepath = null; ghc-prim = null; - haskeline = self.haskeline_0_7_1_3; # GHC's version is broken: https://github.com/NixOS/nixpkgs/issues/5616. + haskeline = null; haskell2010 = null; haskell98 = null; hoopl = null; @@ -28,7 +28,7 @@ self: super: { process = null; rts = null; template-haskell = null; - terminfo = self.terminfo_0_4_0_0; # GHC's version is broken: https://github.com/NixOS/nixpkgs/issues/5616. + terminfo = null; time = null; transformers = null; unix = null; diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index 7290bb947e15..2becdcef5a5d 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -129,7 +129,7 @@ stdenv.mkDerivation ({ mkdir -p $packageConfDir local inputClosure="" - for i in $propagatedNativeBuildInputs $nativeBuildInputs; do + for i in $propagatedNativeBuildInputs $nativeBuildInputs ${ghc}; do findInputs $i inputClosure propagated-native-build-inputs done for p in $inputClosure; do