mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
Merge pull request #26253 from jmitchell/fix/haskell-modules-refactoring
haskell-modules: refactor package set
This commit is contained in:
commit
ec9a23332f
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue