Skip to content

Commit cd09879

Browse files
authored
Add ghc 9.6.4 (#2142)
* Add ghc 9.6.4 * Update patch bounds for aarch64 * Fix ghc-patches arg * ifdLevel 1 * Add materialized files * Add materialized files * Fix ghc patch version bounds * Fix ghc patch version bounds * Fix ghc patch version bounds * Fix ghc patch version bounds * Add materialized files * ifdLevel 2 * Add materialized files * ifdLevel 3 * Add materialized files * Update hls builds * ifdLevel 0 * ifdLevel 1 * ifdLevel 2 * Add materialized files * ifdLevel 3 * Bump hls * HLS 2.6
1 parent a32c095 commit cd09879

File tree

231 files changed

+36399
-37
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+36399
-37
lines changed

build.nix

+6-18
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ let
2020
haskell = pkgs.haskell-nix;
2121
buildHaskell = pkgs.buildPackages.haskell-nix;
2222
tool = buildHaskell.tool;
23+
ghcFromTo = from: to: __compareVersions haskell.compiler.${compiler-nix-name}.version from >= 0 && __compareVersions haskell.compiler.${compiler-nix-name}.version to < 0;
2324
in rec {
2425
tests = import ./test/default.nix { inherit pkgs evalPackages ifdLevel compiler-nix-name; };
2526

@@ -43,36 +44,23 @@ in rec {
4344
"ghc8107" = "3.4.1";
4445
}.${compiler-nix-name} or "latest";
4546
};
46-
} // pkgs.lib.optionalAttrs (
47-
__compareVersions haskell.compiler.${compiler-nix-name}.version "9.2" >= 0
48-
&& __compareVersions haskell.compiler.${compiler-nix-name}.version "9.6" < 0) {
47+
} // pkgs.lib.optionalAttrs (ghcFromTo "9.2" "9.6") {
4948
stack =
5049
tool compiler-nix-name "stack" {
5150
version = "2.11.1";
5251
inherit evalPackages;
5352
};
54-
} // pkgs.lib.optionalAttrs (__compareVersions haskell.compiler.${compiler-nix-name}.version "9.0" < 0) {
53+
} // pkgs.lib.optionalAttrs (ghcFromTo "8.10.7" "9.0") {
5554
# This version will build for ghc < 9.8, but we are only going to test it for
5655
# ghc < 9.0 (since newer versions do not work with ghc 8.10.7).
5756
"hls-22" = tool compiler-nix-name "haskell-language-server" {
5857
inherit evalPackages;
5958
src = pkgs.haskell-nix.sources."hls-2.2";
6059
};
61-
} // pkgs.lib.optionalAttrs (
62-
__compareVersions haskell.compiler.${compiler-nix-name}.version "9.0" >= 0 &&
63-
__compareVersions haskell.compiler.${compiler-nix-name}.version "9.8" < 0
64-
) {
65-
"hls-23" = tool compiler-nix-name "haskell-language-server" {
60+
} // pkgs.lib.optionalAttrs (ghcFromTo "9.0" "9.8") {
61+
"hls-26" = tool compiler-nix-name "haskell-language-server" {
6662
inherit evalPackages;
67-
src = pkgs.haskell-nix.sources."hls-2.3";
68-
};
69-
} // pkgs.lib.optionalAttrs (
70-
__compareVersions haskell.compiler.${compiler-nix-name}.version "9.0" >= 0 &&
71-
__compareVersions haskell.compiler.${compiler-nix-name}.version "9.8" < 0
72-
) {
73-
"hls-24" = tool compiler-nix-name "haskell-language-server" {
74-
inherit evalPackages;
75-
src = pkgs.haskell-nix.sources."hls-2.4";
63+
src = pkgs.haskell-nix.sources."hls-2.6";
7664
};
7765
})
7866
);

flake.lock

+36
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
"hls-2.2" = { url = "github:haskell/haskell-language-server/2.2.0.0"; flake = false; };
2929
"hls-2.3" = { url = "github:haskell/haskell-language-server/2.3.0.0"; flake = false; };
3030
"hls-2.4" = { url = "github:haskell/haskell-language-server/2.4.0.1"; flake = false; };
31+
"hls-2.5" = { url = "github:haskell/haskell-language-server/2.5.0.0"; flake = false; };
32+
"hls-2.6" = { url = "github:haskell/haskell-language-server/2.6.0.0"; flake = false; };
3133
hydra.url = "hydra";
3234
hackage = {
3335
url = "github:input-output-hk/hackage.nix";

materialized/dummy-ghc/aarch64-unknown-linux-musl-aarch64-unknown-linux-musl-ghc-9.6.4-aarch64-linux/ghc-pkg/dump-global

+2,264
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/aarch64-unknown-linux-musl-aarch64-unknown-linux-musl-ghc-9.6.4-aarch64-linux/ghc-pkg/version

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/aarch64-unknown-linux-musl-aarch64-unknown-linux-musl-ghc-9.6.4-aarch64-linux/ghc/info

+72
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

materialized/dummy-ghc/aarch64-unknown-linux-musl-aarch64-unknown-linux-musl-ghc-9.6.4-aarch64-linux/ghc/numeric-version

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)