Skip to content

Commit 0439590

Browse files
committed
Fix type error in shell.nix
1 parent e44f618 commit 0439590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc.
1515
if compiler == "default" || compiler == defaultCompiler
1616
then haskellPackages.ghcWithPackages p
1717
# for all other compilers there is no Nix cache so dont bother building deps with NIx
18-
else haskell.packages.${compiler}.ghcWithPackages [];
18+
else haskell.packages.${compiler}.ghcWithPackages (_: []);
1919

2020
compilerWithPackages = haskellPackagesForProject(p:
2121
with p;

0 commit comments

Comments
 (0)