diff --git a/pkgs/development/haskell-modules/default.nix b/pkgs/development/haskell-modules/default.nix index 8090732ddee6..8e7d19e089fd 100644 --- a/pkgs/development/haskell-modules/default.nix +++ b/pkgs/development/haskell-modules/default.nix @@ -2,6 +2,7 @@ , compilerConfig ? (self: super: {}) , packageSetConfig ? (self: super: {}) , overrides ? (self: super: {}) +, initialPackages ? import ./hackage-packages.nix }: let @@ -10,7 +11,7 @@ let inherit (import ./lib.nix { inherit pkgs; }) overrideCabal makePackageSet; haskellPackages = makePackageSet { - package-set = import ./hackage-packages.nix; + package-set = initialPackages; inherit ghc; };