diff --git a/pkgs/top-level/haskell-ng.nix b/pkgs/top-level/haskell-ng.nix index 0051c2b3e21f..f068b8b9a12b 100644 --- a/pkgs/top-level/haskell-ng.nix +++ b/pkgs/top-level/haskell-ng.nix @@ -7,10 +7,16 @@ rec { compiler = { ghc6102Binary = callPackage ../development/compilers/ghc/6.10.2-binary.nix { gmp = pkgs.gmp4; }; - ghc704Binary = callPackage ../development/compilers/ghc/7.0.4-binary.nix ({ gmp = pkgs.gmp4; } // stdenv.lib.optionalAttrs stdenv.isDarwin { + ghc704Binary = callPackage ../development/compilers/ghc/7.0.4-binary.nix ({ + gmp = pkgs.gmp4; + ncurses = pkgs.ncurses5; + } // stdenv.lib.optionalAttrs stdenv.isDarwin { libiconv = pkgs.darwin.libiconv; }); - ghc742Binary = callPackage ../development/compilers/ghc/7.4.2-binary.nix ({ gmp = pkgs.gmp4; } // stdenv.lib.optionalAttrs stdenv.isDarwin { + ghc742Binary = callPackage ../development/compilers/ghc/7.4.2-binary.nix ({ + gmp = pkgs.gmp4; + ncurses = pkgs.ncurses5; + } // stdenv.lib.optionalAttrs stdenv.isDarwin { libiconv = pkgs.darwin.libiconv; });