We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fe1447 commit d286ae8Copy full SHA for d286ae8
shell.nix
@@ -10,8 +10,9 @@
10
}:
11
with nixpkgs;
12
13
-let haskellPackagesForProject = p:
14
- if compiler == "default" || compiler == "ghc883"
+let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc.version;
+ haskellPackagesForProject = p:
15
+ if compiler == "default" || compiler == defaultCompiler
16
then haskellPackages.ghcWithPackages p
17
# for all other compilers there is no Nix cache so dont bother building deps with NIx
18
else haskell.packages.${compiler}.ghcWithPackages [];
0 commit comments