summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/7.2.2.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-14 22:16:44 +0100
committerPeter Simons <simons@cryp.to>2015-01-14 22:24:33 +0100
commitdf76eb12680afcaaf12b60b943587678559719e3 (patch)
treeaa8aaf1520f575c3d2233c36a5af2cc5b5a26b7e /pkgs/development/compilers/ghc/7.2.2.nix
parent26e275398e6e1e858c9b63fefd9fb87d9f8526b0 (diff)
downloadnixlib-df76eb12680afcaaf12b60b943587678559719e3.tar
nixlib-df76eb12680afcaaf12b60b943587678559719e3.tar.gz
nixlib-df76eb12680afcaaf12b60b943587678559719e3.tar.bz2
nixlib-df76eb12680afcaaf12b60b943587678559719e3.tar.lz
nixlib-df76eb12680afcaaf12b60b943587678559719e3.tar.xz
nixlib-df76eb12680afcaaf12b60b943587678559719e3.tar.zst
nixlib-df76eb12680afcaaf12b60b943587678559719e3.zip
ghc: revert "propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc."
I thought that [1] could be fixed by ensuring that ncurses is available in the
environment (because ghc exports it as a propagateBuildInput), and indeed that
change fixed *some* build failures we've had before. However, the same error
still occurs with other packages, like hledger [2] and Agda [3]. Frankly, I
have no idea why those packages fail and others don't. But clearly the fix was
inadequate, so I'm reverting commit a8076c76.

[1] https://github.com/NixOS/nixpkgs/issues/5616
[2] http://hydra.cryp.to/build/372451/nixlog/1/raw
[2] http://hydra.cryp.to/build/373161/nixlog/1/raw
Diffstat (limited to 'pkgs/development/compilers/ghc/7.2.2.nix')
-rw-r--r--pkgs/development/compilers/ghc/7.2.2.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/7.2.2.nix b/pkgs/development/compilers/ghc/7.2.2.nix
index abfcc5d166c9..51d94af40516 100644
--- a/pkgs/development/compilers/ghc/7.2.2.nix
+++ b/pkgs/development/compilers/ghc/7.2.2.nix
@@ -9,8 +9,7 @@ stdenv.mkDerivation rec {
     sha256 = "0g87d3z9275dniaqzkf56qfgzp1msd89nqqhhm2gkc6iga072spz";
   };
 
-  buildInputs = [ ghc perl ];
-  propagatedBuildInputs = [ gmp ncurses ];
+  buildInputs = [ ghc perl gmp ncurses ];
 
   buildMK = ''
     libraries/integer-gmp_CONFIGURE_OPTS += --configure-option=--with-gmp-libraries="${gmp}/lib"