Skip to content

Commit 7b6bc0e

Browse files
committed
Fix use of hackage in mkStackPkgSet
1 parent e86f8bb commit 7b6bc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

overlays/haskell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ final: prev: {
110110
You may need to update haskell.nix to one that includes a newer stackage.nix.
111111
'');
112112
# The compiler referenced in the stack config
113-
compiler = (stack-pkgs.extras hackage).compiler or (pkg-def hackage).compiler;
113+
compiler = (stack-pkgs.extras hackageForStack).compiler or (pkg-def hackageForStack).compiler;
114114
patchesModule = ghcHackagePatches.${compiler.nix-name} or {};
115115
# Remove fake packages generated from stack keywords used in ghc-options
116116
removeStackSpecial = module: if builtins.typeOf module == "set"

0 commit comments

Comments
 (0)