@@ -55,7 +55,7 @@ let
55 # and Nix expressions representing cabal packages (cabal-to-nix).
55 # and Nix expressions representing cabal packages (cabal-to-nix).
56 mkPkgSet =
56 mkPkgSet =
57 { pkg-def # Base package set. Either from stackage (via stack-to-nix) or from a cabal projects plan file (via plan-to-nix)
57 { pkg-def # Base package set. Either from stackage (via stack-to-nix) or from a cabal projects plan file (via plan-to-nix)
58− , pkg-def-overlays ? [] # Additional packages to augment the Base package set `pkg-def` with.
58+ , pkg-def-extras ? [] # Additional packages to augment the Base package set `pkg-def` with.
59 , modules ? []
59 , modules ? []
@@ -67,7 +67,7 @@ let
67 # Create a Haskell package set based on a Stack configuration.
67 # Create a Haskell package set based on a Stack configuration.
68 mkStackPkgSet =
68 mkStackPkgSet =
69 { stack-pkgs # Path to the output of stack-to-nix
69 { stack-pkgs # Path to the output of stack-to-nix
70− , pkg-def-overlays ? []
70+ , pkg-def-extras ? []
71 , modules ? []
71 , modules ? []
@@ -75,27 +75,27 @@ let
75 # The Stackage release referenced in the stack config
75 # The Stackage release referenced in the stack config
76 pkg-def = stackage.${stack-pkgs.resolver};
76 pkg-def = stackage.${stack-pkgs.resolver};
77 # The compiler referenced in the stack config
77 # The compiler referenced in the stack config
78− compiler = (stack-pkgs.overlay hackage).compiler or (pkg-def hackage).compiler;
78+ compiler = (stack-pkgs.extras hackage).compiler or (pkg-def hackage).compiler;
79 in self.mkPkgSet {
79 in self.mkPkgSet {
80 inherit pkg-def;
80 inherit pkg-def;
81− pkg-def-overlays = [ stack-pkgs.overlay ] ++ pkg-def-overlays;
81+ pkg-def-extras = [ stack-pkgs.extras ] ++ pkg-def-extras;
82 modules = [ ghcHackagePatches.${compiler.nix-name} ] ++ modules;
82 modules = [ ghcHackagePatches.${compiler.nix-name} ] ++ modules;
85 # Create a Haskell package set based on a Cabal configuration.
85 # Create a Haskell package set based on a Cabal configuration.
86 mkCabalProjectPkgSet =
86 mkCabalProjectPkgSet =
87 { plan-pkgs # Path to the output of plan-to-nix
87 { plan-pkgs # Path to the output of plan-to-nix
88− , pkg-def-overlays ? []
88+ , pkg-def-extras ? []
89 , modules ? []
89 , modules ? []
93 pkg-def = plan-pkgs.pkgs;
93 pkg-def = plan-pkgs.pkgs;
94 # The compiler referenced in the stack config
94 # The compiler referenced in the stack config
95− compiler = (plan-pkgs.overlay hackage).compiler or (pkg-def hackage).compiler;
95+ compiler = (plan-pkgs.extras hackage).compiler or (pkg-def hackage).compiler;
96 in self.mkPkgSet {
96 in self.mkPkgSet {
97 inherit pkg-def;
97 inherit pkg-def;
98− pkg-def-overlays = [ plan-pkgs.overlay ] ++ pkg-def-overlays;
98+ pkg-def-extras = [ plan-pkgs.extras ] ++ pkg-def-extras;
99 modules = [ ghcHackagePatches.${compiler.nix-name} ] ++ modules;
99 modules = [ ghcHackagePatches.${compiler.nix-name} ] ++ modules;