ghc: propagate 'gmp' and 'ncurses' to ensure users can link the 'haskeline' library, etc.
Fixes https://github.com/NixOS/nixpkgs/issues/5616.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user