diff --git a/pkgs/development/compilers/ghc/default.nix b/pkgs/development/compilers/ghc/default.nix index b26a5154bf60..cac79fd92bb6 100644 --- a/pkgs/development/compilers/ghc/default.nix +++ b/pkgs/development/compilers/ghc/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, perl, ghc, m4}: +{stdenv, fetchurl, perl, ghc, m4, readline, ncurses}: stdenv.mkDerivation { name = "ghc-6.4.1"; @@ -7,4 +7,5 @@ stdenv.mkDerivation { md5 = "fd289bc7c3afa272ff831a71a50b5b00"; }; buildInputs = [perl ghc m4]; + propagatedBuildInputs = [readline ncurses]; } diff --git a/pkgs/system/all-packages-generic.nix b/pkgs/system/all-packages-generic.nix index 9839878e0e1e..749a59d860c4 100644 --- a/pkgs/system/all-packages-generic.nix +++ b/pkgs/system/all-packages-generic.nix @@ -563,7 +563,7 @@ rec { }; ghc = (import ../development/compilers/ghc) { - inherit fetchurl stdenv perl; + inherit fetchurl stdenv perl ncurses readline; ghc = ghcboot; m4 = gnum4; };