File tree Expand file tree Collapse file tree 6 files changed +28
-4
lines changed
test/haskell-language-server Expand file tree Collapse file tree 6 files changed +28
-4
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,10 @@ in rec {
57
57
inherit evalPackages ;
58
58
src = pkgs . haskell-nix . sources . "hls-2.2" ;
59
59
} ;
60
- } // pkgs . lib . optionalAttrs ( ghcFromTo "9.0" "9.10.2 " ) {
60
+ } // pkgs . lib . optionalAttrs ( ghcFromTo "9.0" "9.13 " ) {
61
61
"hls" = tool compiler-nix-name "haskell-language-server" {
62
62
inherit evalPackages ;
63
- src = pkgs . haskell-nix . sources . "hls-2.10 " ;
63
+ src = pkgs . haskell-nix . sources . "hls-2.11 " ;
64
64
} ;
65
65
} )
66
66
) ;
Original file line number Diff line number Diff line change 21
21
"hls-2.8" = { url = "github:haskell/haskell-language-server/2.8.0.0" ; flake = false ; } ;
22
22
"hls-2.9" = { url = "github:haskell/haskell-language-server/2.9.0.1" ; flake = false ; } ;
23
23
"hls-2.10" = { url = "github:haskell/haskell-language-server/2.10.0.0" ; flake = false ; } ;
24
+ "hls-2.11" = { url = "github:haskell/haskell-language-server/2.11.0.0" ; flake = false ; } ;
24
25
"hls" = { url = "github:haskell/haskell-language-server" ; flake = false ; } ;
25
26
hackage = {
26
27
url = "github:input-output-hk/hackage.nix" ;
Original file line number Diff line number Diff line change 461
461
cabal_file=${ ghcSrc } /compiler/${ name } .cabal.in
462
462
elif [ -f ${ ghcSrc } /libraries/${ name } /${ name } .cabal.in ]; then
463
463
cabal_file=${ ghcSrc } /libraries/${ name } /${ name } .cabal.in
464
+ elif [ -f ${ ghcSrc } /utils/haddock/${ name } /${ name } .cabal ]; then
465
+ cabal_file=${ ghcSrc } /utils/haddock/${ name } /${ name } .cabal
464
466
fi
465
467
if [[ "$cabal_file" != "" ]]; then
466
468
fixed_cabal_file=$(mktemp)
Original file line number Diff line number Diff line change @@ -1126,6 +1126,9 @@ final: prev: {
1126
1126
"xhtml"
1127
1127
] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.4" > 0 ) [
1128
1128
"system-cxx-std-lib"
1129
+ ] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.12" > 0 ) [
1130
+ "haddock-api"
1131
+ "haddock-library"
1129
1132
] ++ final . lib . optionals (
1130
1133
! final . stdenv . targetPlatform . isGhcjs
1131
1134
&& ! final . stdenv . targetPlatform . isWindows
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-2.10 " ;
6
+ src = haskell-nix . sources . "hls-2.11 " ;
7
7
configureArgs = "--disable-benchmarks --disable-tests" ; # This makes cabalProject' more like the `tool` function
8
8
} ;
9
9
in recurseIntoAttrs {
@@ -16,5 +16,5 @@ in recurseIntoAttrs {
16
16
meta . disabled =
17
17
stdenv . hostPlatform != stdenv . buildPlatform
18
18
|| __compareVersions buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . version "9.0.1" < 0
19
- || __compareVersions buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . version "9.10.2 " >= 0 ;
19
+ || __compareVersions buildPackages . haskell-nix . compiler . ${ compiler-nix-name } . version "9.13 " >= 0 ;
20
20
}
You can’t perform that action at this time.
0 commit comments