File tree 4 files changed +21
-12
lines changed
test/haskell-language-server
4 files changed +21
-12
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,7 @@ in rec {
60
60
} // pkgs . lib . optionalAttrs ( ghcFromTo "9.0" "9.11" ) {
61
61
"hls" = tool compiler-nix-name "haskell-language-server" {
62
62
inherit evalPackages ;
63
- src = pkgs . haskell-nix . sources . hls ;
64
- cabalProjectLocal = ''
65
- if impl(ghc >=9.6.7) && impl(ghc <9.7) || impl(ghc >=9.8.3)
66
- constraints: ghc-lib-parser >=9.8.4
67
- allow-older: ghc-lib-parser:filepath
68
- '' ;
63
+ src = pkgs . haskell-nix . sources . "hls-2.10" ;
69
64
} ;
70
65
} )
71
66
) ;
Original file line number Diff line number Diff line change 19
19
"hls-2.7" = { url = "github:haskell/haskell-language-server/2.7.0.0" ; flake = false ; } ;
20
20
"hls-2.8" = { url = "github:haskell/haskell-language-server/2.8.0.0" ; flake = false ; } ;
21
21
"hls-2.9" = { url = "github:haskell/haskell-language-server/2.9.0.1" ; flake = false ; } ;
22
+ "hls-2.10" = { url = "github:haskell/haskell-language-server/2.10.0.0" ; flake = false ; } ;
22
23
"hls" = { url = "github:haskell/haskell-language-server" ; flake = false ; } ;
23
24
hackage = {
24
25
url = "github:input-output-hk/hackage.nix" ;
Original file line number Diff line number Diff line change 3
3
project = haskell-nix . cabalProject' {
4
4
inherit compiler-nix-name evalPackages ;
5
5
name = "haskell-language-server" ;
6
- src = haskell-nix . sources . hls ;
6
+ src = haskell-nix . sources . " hls-2.10" ;
7
7
configureArgs = "--disable-benchmarks --disable-tests" ; # This makes cabalProject' more like the `tool` function
8
- cabalProjectLocal = ''
9
- if impl(ghc >=9.6.7) && impl(ghc <9.7) || impl(ghc >=9.8.3)
10
- constraints: ghc-lib-parser >=9.8.4
11
- allow-older: ghc-lib-parser:filepath
12
- '' ;
13
8
} ;
14
9
in recurseIntoAttrs {
15
10
ifdInputs = {
You can’t perform that action at this time.
0 commit comments