on iko/ghcjs-patch-master help sign in
Allow modules from mkNewPkgSet
commitfd39d56a5b6e2f7b477d6d789a8b9c616f656000 authorWill Fancher <elvishjerricco@gmail.com> dateTue 30 Oct 2018, 00:50 (8 years ago) parent192d8aa
1 file changed+1−1
default.nix+1−1
default.nix+1−1
@@ -4,5 +4,5 @@ hackage: let haskell = {
44 # The *new* pkg set is one that build components.
55 # This also uses the module system for much greater extensibility.
66 # To make extend and override things, pass a modules argument to new-package-set.nix
7− mkNewPkgSet = pkgs: pkg-def: import ./new-package-set.nix { inherit hackage pkgs pkg-def; };
7+ mkNewPkgSet = { pkgs, pkg-def, modules ? [] }: import ./new-package-set.nix { inherit hackage pkgs pkg-def modules; };
88}; in haskell