haskell-modules: split off nix-specific overrides and common ones

This allows the nix-specific overrides to be reused for other purposes,
with different haskell package sets, etc.
This commit is contained in:
Benno Fünfstück
2017-02-07 15:13:23 +01:00
committed by Peter Simons
parent 5a0368b87c
commit 57507f08e8
3 changed files with 403 additions and 333 deletions
+3 -1
View File
@@ -105,6 +105,7 @@ let
};
commonConfiguration = import ./configuration-common.nix { inherit pkgs; };
nixConfiguration = import ./configuration-nix.nix { inherit pkgs; };
in
@@ -112,4 +113,5 @@ in
(extends overrides
(extends packageSetConfig
(extends compilerConfig
(extends commonConfiguration haskellPackages))))
(extends commonConfiguration
(extends nixConfiguration haskellPackages)))))