mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
haskellPackages: make configuration-{nix,common}.nix configurable
The motivation is to be able to get rid of common configuration when initial packages differs since common configuration assumes a very specific version set. cc @jmitchell @peti
This commit is contained in:
parent
3d52203ab2
commit
bb9e23837a
@ -3,6 +3,8 @@
|
||||
, packageSetConfig ? (self: super: {})
|
||||
, overrides ? (self: super: {})
|
||||
, initialPackages ? import ./hackage-packages.nix
|
||||
, configurationCommon ? import ./configuration-common.nix
|
||||
, configurationNix ? import ./configuration-nix.nix
|
||||
}:
|
||||
|
||||
let
|
||||
@ -15,8 +17,8 @@ let
|
||||
inherit ghc extensible-self;
|
||||
};
|
||||
|
||||
commonConfiguration = import ./configuration-common.nix { inherit pkgs; };
|
||||
nixConfiguration = import ./configuration-nix.nix { inherit pkgs; };
|
||||
commonConfiguration = configurationCommon { inherit pkgs; };
|
||||
nixConfiguration = configurationNix { inherit pkgs; };
|
||||
|
||||
extensible-self = makeExtensible
|
||||
(extends overrides
|
||||
|
Loading…
Reference in New Issue
Block a user