diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix index c9dc7254800e..8790b56e5019 100644 --- a/pkgs/development/haskell-modules/lib.nix +++ b/pkgs/development/haskell-modules/lib.nix @@ -301,7 +301,7 @@ rec { getHaskellBuildInputs = p: (overrideCabal p (args: { passthru = (args.passthru or {}) // { - _getHaskellBuildInputs = extractBuildInputs p.compiler args; + _getHaskellBuildInputs = (extractBuildInputs p.compiler args).haskellBuildInputs; }; }))._getHaskellBuildInputs;