mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-11 08:45:35 +03:00
Fix type error in shell.nix
This commit is contained in:
parent
e44f618c11
commit
0439590a96
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user