diff --git a/shell.nix b/shell.nix index 819e7ff9d8..c485fe801b 100644 --- a/shell.nix +++ b/shell.nix @@ -15,7 +15,7 @@ let defaultCompiler = "ghc" + lib.replaceStrings ["."] [""] haskellPackages.ghc. if compiler == "default" || compiler == defaultCompiler then haskellPackages.ghcWithPackages p # for all other compilers there is no Nix cache so dont bother building deps with NIx - else haskell.packages.${compiler}.ghcWithPackages []; + else haskell.packages.${compiler}.ghcWithPackages (_: []); compilerWithPackages = haskellPackagesForProject(p: with p;