Skip to content

Add Ghc 9.2.7 #1871

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@
ghc865 = false;
ghc8107 = false;
ghc902 = false;
ghc926 = false;
ghc927 = false;
ghc944 = false;
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
ghc865 = false;
ghc884 = false; # Native version is used to boot 9.0.1
ghc8107 = true;
ghc902 = false;
ghc926 = true;
ghc927 = true;
ghc944 = true;
}));
crossSystems = nixpkgsName: nixpkgs: compiler-nix-name:
Expand All @@ -73,10 +73,10 @@
|| (system == "x86_64-darwin" && __elem compiler-nix-name ["ghc8107"]))) {
inherit (lib.systems.examples) ghcjs;
} // lib.optionalAttrs (nixpkgsName == "unstable"
&& ((system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc926" "ghc944"])
&& ((system == "x86_64-linux" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc927" "ghc944"])
|| (system == "x86_64-darwin" && __elem compiler-nix-name []))) { # TODO add ghc versions when we have more darwin build capacity
inherit (lib.systems.examples) mingwW64;
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc922" "ghc923" "ghc924" "ghc926"]) {
} // lib.optionalAttrs (system == "x86_64-linux" && nixpkgsName == "unstable" && __elem compiler-nix-name ["ghc8107" "ghc902" "ghc927"]) {
# Musl cross only works on linux
# aarch64 cross only works on linux
inherit (lib.systems.examples) musl64 aarch64-multiplatform;
Expand Down
11 changes: 6 additions & 5 deletions docs/reference/supported-ghc-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ for each, though not all are cached or tested by CI):
- 8.4.4
- 8.6.{1,2,3,4,5}
- 8.8.{1,2,3,4}
- 8.10.{1,2,3,4,5}
- 9.0.1
- 9.2.1
- 9.2.2
- 8.10.{1,2,3,4,5,6,7}
- 9.0.{1,2}
- 9.2.{1,2,3,4,5,6,7}
- 9.4.{1,2,3,4}

The following table shows the Nixpkgs/GHC versions which are built/cached, and
which of those are further tested. If you use a combination of Nixpkgs version
Expand All @@ -27,7 +27,8 @@ really should use an instance of Nixpkgs provided by `haskell.nix` itself.
| unstable | `nixpkgs-unstable` | 8.8.4 | `ghc884` | No |
| unstable | `nixpkgs-unstable` | 8.10.7 | `ghc8107` | Yes |
| unstable | `nixpkgs-unstable` | 9.0.2 | `ghc902` | No |
| unstable | `nixpkgs-unstable` | 9.2.4 | `ghc924` | Yes |
| unstable | `nixpkgs-unstable` | 9.2.7 | `ghc927` | Yes |
| unstable | `nixpkgs-unstable` | 9.4.4 | `ghc944` | Yes |

See [ci.nix](https://github.com/input-output-hk/haskell.nix/blob/master/ci.nix)
for the source of truth about what is built and tested (in the off chance this
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/development/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
src = ./.;
};
# Specify the GHC version to use.
compiler-nix-name = "ghc926"; # Not required for `stack.yaml` based projects.
compiler-nix-name = "ghc927"; # Not required for `stack.yaml` based projects.
}
2 changes: 1 addition & 1 deletion docs/tutorials/getting-started-flakes/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
helloProject =
final.haskell-nix.project' {
src = ./.;
compiler-nix-name = "ghc926";
compiler-nix-name = "ghc927";
# This is used by `nix develop .` to open a shell for use with
# `cabal`, `hlint` and `haskell-language-server`
shell.tools = {
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/getting-started/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ in pkgs.haskell-nix.project {
src = ./.;
};
# Specify the GHC version to use.
compiler-nix-name = "ghc926"; # Not required for `stack.yaml` based projects.
compiler-nix-name = "ghc927"; # Not required for `stack.yaml` based projects.
}
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
};

outputs = { self, nixpkgs, nixpkgs-unstable, nixpkgs-2105, nixpkgs-2111, nixpkgs-2205, nixpkgs-2211, flake-utils, tullia, ... }@inputs:
let compiler = "ghc926";
let compiler = "ghc927";
config = import ./config.nix;

traceNames = prefix: builtins.mapAttrs (n: v:
Expand Down Expand Up @@ -215,7 +215,7 @@
"ghc881" "ghc882" "ghc883"
"ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc8105" "ghc8106" "ghc810420210212"
"ghc901"
"ghc921" "ghc922" "ghc923"]);
"ghc921" "ghc922" "ghc923" "ghc924" "ghc925" "ghc926"]);
} // tullia.fromSimple system (import ./tullia.nix)));

# --- Flake Local Nix Configuration ----------------------------
Expand Down
48 changes: 48 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/Win32.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/base.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

65 changes: 65 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/bytestring.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/deepseq.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 37 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/ghc-bignum.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions materialized/ghc-boot-packages-nix/ghc927/ghc-boot.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading