Skip to content

Commit 496c1f3

Browse files
committedJun 22, 2017
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 (cherry picked from commit bb9e238) Signed-off-by: Domen Kožar <domen@dev.si>
1 parent 25a8ba5 commit 496c1f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed
 

‎pkgs/development/haskell-modules/default.nix

+4-2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
, packageSetConfig ? (self: super: {})
44
, overrides ? (self: super: {})
55
, initialPackages ? import ./hackage-packages.nix
6+
, configurationCommon ? import ./configuration-common.nix
7+
, configurationNix ? import ./configuration-nix.nix
68
}:
79

810
let
@@ -15,8 +17,8 @@ let
1517
inherit ghc extensible-self;
1618
};
1719

18-
commonConfiguration = import ./configuration-common.nix { inherit pkgs; };
19-
nixConfiguration = import ./configuration-nix.nix { inherit pkgs; };
20+
commonConfiguration = configurationCommon { inherit pkgs; };
21+
nixConfiguration = configurationNix { inherit pkgs; };
2022

2123
extensible-self = makeExtensible
2224
(extends overrides

0 commit comments

Comments
 (0)
Please sign in to comment.