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 {
5757 inherit evalPackages ;
5858 src = pkgs . haskell-nix . sources . "hls-2.2" ;
5959 } ;
60- } // pkgs . lib . optionalAttrs ( ghcFromTo "9.0" "9.10.2 " ) {
60+ } // pkgs . lib . optionalAttrs ( ghcFromTo "9.0" "9.13 " ) {
6161 "hls" = tool compiler-nix-name "haskell-language-server" {
6262 inherit evalPackages ;
63- src = pkgs . haskell-nix . sources . "hls-2.10 " ;
63+ src = pkgs . haskell-nix . sources . "hls-2.11 " ;
6464 } ;
6565 } )
6666 ) ;
Original file line number Diff line number Diff line change 2121 "hls-2.8" = { url = "github:haskell/haskell-language-server/2.8.0.0" ; flake = false ; } ;
2222 "hls-2.9" = { url = "github:haskell/haskell-language-server/2.9.0.1" ; flake = false ; } ;
2323 "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 ; } ;
2425 "hls" = { url = "github:haskell/haskell-language-server" ; flake = false ; } ;
2526 hackage = {
2627 url = "github:input-output-hk/hackage.nix" ;
Original file line number Diff line number Diff line change 461461 cabal_file=${ ghcSrc } /compiler/${ name } .cabal.in
462462 elif [ -f ${ ghcSrc } /libraries/${ name } /${ name } .cabal.in ]; then
463463 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
464466 fi
465467 if [[ "$cabal_file" != "" ]]; then
466468 fixed_cabal_file=$(mktemp)
Original file line number Diff line number Diff line change @@ -1126,6 +1126,9 @@ final: prev: {
11261126 "xhtml"
11271127 ] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.4" > 0 ) [
11281128 "system-cxx-std-lib"
1129+ ] ++ final . lib . optionals ( builtins . compareVersions ghc . version "9.12" > 0 ) [
1130+ "haddock-api"
1131+ "haddock-library"
11291132 ] ++ final . lib . optionals (
11301133 ! final . stdenv . targetPlatform . isGhcjs
11311134 && ! final . stdenv . targetPlatform . isWindows
Original file line number Diff line number Diff line change 33 project = haskell-nix . cabalProject' {
44 inherit compiler-nix-name evalPackages ;
55 name = "haskell-language-server" ;
6- src = haskell-nix . sources . "hls-2.10 " ;
6+ src = haskell-nix . sources . "hls-2.11 " ;
77 configureArgs = "--disable-benchmarks --disable-tests" ; # This makes cabalProject' more like the `tool` function
88 } ;
99in recurseIntoAttrs {
@@ -16,5 +16,5 @@ in recurseIntoAttrs {
1616 meta . disabled =
1717 stdenv . hostPlatform != stdenv . buildPlatform
1818 || __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 ;
2020}
You can’t perform that action at this time.
0 commit comments