Skip to content

Commit 531a9e5

Browse files
committed
Merge remote-tracking branch 'origin/master' into hkm/nixpkgs-update
2 parents 2340b3c + c7129d2 commit 531a9e5

File tree

5 files changed

+26
-24
lines changed

5 files changed

+26
-24
lines changed

build.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ in rec {
5858
inherit evalPackages;
5959
src = pkgs.haskell-nix.sources."hls-2.2";
6060
};
61-
} // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.8") {
62-
"hls-26" = tool compiler-nix-name "haskell-language-server" {
61+
} // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.10") {
62+
"hls-27" = tool compiler-nix-name "haskell-language-server" {
6363
inherit evalPackages;
64-
src = pkgs.haskell-nix.sources."hls-2.6";
64+
src = pkgs.haskell-nix.sources."hls-2.7";
6565
};
6666
})
6767
);

flake.lock

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"hls-2.4" = { url = "github:haskell/haskell-language-server/2.4.0.1"; flake = false; };
2828
"hls-2.5" = { url = "github:haskell/haskell-language-server/2.5.0.0"; flake = false; };
2929
"hls-2.6" = { url = "github:haskell/haskell-language-server/2.6.0.0"; flake = false; };
30+
"hls-2.7" = { url = "github:haskell/haskell-language-server/2.7.0.0"; flake = false; };
3031
hydra.url = "hydra";
3132
hackage = {
3233
url = "github:input-output-hk/hackage.nix";

test/cabal.project.local

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ repository head.hackage.ghc.haskell.org
2121
--sha256: sha256-h/vbKTUdGVdkt2ogJer2d+gRuHkayiblQ7oFRqpj14c=
2222

2323
repository ghcjs-overlay
24-
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/91f4ce9bea0e7f739b7495647c3f72a308ed1c6f
24+
url: https://raw.githubusercontent.com/input-output-hk/hackage-overlay-ghcjs/ed91ac93832fdfc50471ab8df13b8174e91b35ed
2525
secure: True
2626
root-keys:
2727
key-threshold: 0
28-
--sha256: sha256-mZT7c+xR5cUTjLdCqOxpprjYL3kr/+9rmumtXvWAQlM=
28+
--sha256: sha256-+Eq62mUAS6rl0PYC5U0D3fH3P5tpnH/Y5qftZMgL7OM=
2929

3030
-- This is needed because nixpkgs has 1.0.19, and libsodium has
3131
-- too tight bounds <1.0.18.

test/haskell-language-server/cabal.nix

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,7 @@ let
33
project = haskell-nix.cabalProject' {
44
inherit compiler-nix-name evalPackages;
55
name = "haskell-language-server";
6-
src = haskell-nix.sources."hls-2.6";
7-
# Even though this is in the cabal.project it is inside a condional
8-
# and so haskell.nix cannot parse it properly. Luckily adding it
9-
# again seems to work fine.
10-
cabalProjectLocal = ''
11-
repository head.hackage.ghc.haskell.org
12-
url: https://ghc.gitlab.haskell.org/head.hackage/
13-
secure: True
14-
key-threshold: 3
15-
root-keys:
16-
f76d08be13e9a61a377a85e2fb63f4c5435d40f8feb3e12eb05905edb8cdea89
17-
26021a13b401500c8eb2761ca95c61f2d625bfef951b939a8124ed12ecf07329
18-
7541f32a4ccca4f97aea3b22f5e593ba2c0267546016b992dfadcd2fe944e55d
19-
--sha256: sha256-Bkn2Etb0JVmb7tM7jxuIoYLFnSp7acqraEYVq0I5oUM=
20-
21-
if impl(ghc < 9.7)
22-
active-repositories: hackage.haskell.org
23-
'';
6+
src = haskell-nix.sources."hls-2.7";
247
configureArgs = "--disable-benchmarks --disable-tests";
258
};
269
in recurseIntoAttrs {
@@ -33,5 +16,5 @@ in recurseIntoAttrs {
3316
meta.disabled =
3417
stdenv.hostPlatform != stdenv.buildPlatform
3518
|| __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.0.1" < 0
36-
|| __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.8.0" >= 0;
19+
|| __compareVersions buildPackages.haskell-nix.compiler.${compiler-nix-name}.version "9.9.0" >= 0;
3720
}

0 commit comments

Comments
 (0)