summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/7.4.2.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-14 11:20:48 +0100
committerPeter Simons <simons@cryp.to>2015-01-14 11:24:59 +0100
commita8076c76549a3f3db78ef6c839aec449636fe2e3 (patch)
treeda301da83ac491a442ed0356a75a19e0f196f591 /pkgs/development/compilers/ghc/7.4.2.nix
parenta92afcd34a9e1535083a7b97fd8a5ceb6c04287c (diff)
ghc: propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc.
Fixes https://github.com/NixOS/nixpkgs/issues/5616.
Diffstat (limited to 'pkgs/development/compilers/ghc/7.4.2.nix')
-rw-r--r--pkgs/development/compilers/ghc/7.4.2.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/ghc/7.4.2.nix b/pkgs/development/compilers/ghc/7.4.2.nix
index 2f577f12bc460..654df2c22f72c 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"