Skip to content

Commit ea3fbac

Browse files
committed
Replace ghc911 with ghc912X and ghc913
1 parent ed42119 commit ea3fbac

File tree

7 files changed

+58
-14
lines changed

7 files changed

+58
-14
lines changed

ci.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
ghc98llvm = false;
7474
ghc910 = true;
7575
ghc910llvm = true;
76-
ghc911 = true;
76+
ghc912X = true;
77+
ghc913 = true;
7778
})));
7879
crossSystems = nixpkgsName: nixpkgs: compiler-nix-name:
7980
# We need to use the actual nixpkgs version we're working with here, since the values

lazy-inputs/ghc912X/flake.lock

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

lazy-inputs/ghc912X/flake.nix

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
description = "Lazy Input for Haskell.nix";
3+
4+
inputs = {
5+
ghc912X = {
6+
flake = false;
7+
url = "git+https://gitlab.haskell.org/ghc/ghc?ref=ghc-9.12&submodules=1";
8+
};
9+
};
10+
11+
outputs = inputs: inputs;
12+
}

lazy-inputs/ghc911/flake.lock renamed to lazy-inputs/ghc913/flake.lock

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

lazy-inputs/ghc911/flake.nix renamed to lazy-inputs/ghc913/flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description = "Lazy Input for Haskell.nix";
33

44
inputs = {
5-
ghc911 = {
5+
ghc913 = {
66
flake = false;
77
url = "git+https://gitlab.haskell.org/ghc/ghc?submodules=1";
88
};

overlays/bootstrap.nix

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ let
1111
"9.10" = "9.10.1";
1212
};
1313
gitInputs = {
14-
ghc911 = "9.11";
14+
ghc912X = "9.12";
15+
ghc913 = "9.13";
1516
};
1617
versionToNixName = v: "ghc${builtins.replaceStrings ["."] [""] v}";
1718
compilerNameMap =
@@ -119,7 +120,7 @@ in {
119120
++ until "9.2" ./patches/ghc/issue-18708.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6554
120121
++ fromUntil "9.2.2" "9.4" ./patches/ghc/ghc-9.2.2-fix-warnings-building-with-self.patch # https://gitlab.haskell.org/ghc/ghc/-/commit/c41c478eb9003eaa9fc8081a0039652448124f5d
121122
++ until "9.6" ./patches/ghc/ghc-hpc-response-files.patch # https://gitlab.haskell.org/ghc/ghc/-/merge_requests/8194
122-
++ fromUntil "9.2" "9.12" ./patches/ghc/sanity-check-find-file-name.patch
123+
++ fromUntil "9.2" "9.14" ./patches/ghc/sanity-check-find-file-name.patch
123124
++ until "9.0" ./patches/ghc/dont-mark-evacuate_large-as-inline.patch
124125
++ onWindows (fromUntil "9.4.1" "9.4.5" ./patches/ghc/ghc-9.4-hadrian-win-cross.patch)
125126
++ onWindows (fromUntil "9.4.7" "9.4.9" ./patches/ghc/ghc-9.8-hadrian-win-cross.patch)
@@ -159,7 +160,7 @@ in {
159160
++ fromUntil "9.6.2" "9.8" ./patches/ghc/ghc-9.4.5-include-order-fix.patch
160161
++ fromUntil "9.6.1" "9.9.20231203" ./patches/ghc/MR10116.patch
161162
++ onNative (fromUntil "9.4.1" "9.6" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode-ghc94.patch)
162-
++ onNative (fromUntil "9.6.1" "9.12" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode.patch)
163+
++ onNative (fromUntil "9.6.1" "9.14" ./patches/ghc/hadrian-build-deriveConstants-genprimopcode.patch)
163164
++ onGhcjs (fromUntil "9.6.1" "9.6.3" ./patches/ghc/ghc-9.6-Merge-libiserv-with-ghci.patch)
164165
++ onGhcjs (fromUntil "9.6.3" "9.8" ./patches/ghc/ghc-9.6.3-Merge-libiserv-with-ghci.patch)
165166
++ onGhcjs (fromUntil "9.6.1" "9.8" ./patches/ghc/ghc-9.6-Assorted-changes-to-avoid-head-tail.patch)
@@ -247,7 +248,7 @@ in {
247248
++ fromUntil "9.9" "9.11" ./patches/ghc/ghc-9.9-Cabal-3.11.patch
248249
++ fromUntil "9.8" "9.9" ./patches/ghc/ghc-9.8-text-upper-bound.patch
249250
++ fromUntil "9.10" "9.11" ./patches/ghc/ghc-9.10-containers-upper-bound.patch
250-
++ fromUntil "9.10" "9.12" ./patches/ghc/ghc-9.10-merge-objects.patch
251+
++ fromUntil "9.10" "9.14" ./patches/ghc/ghc-9.10-merge-objects.patch
251252

252253
# This patch will make windows stop emitting absolute relocations. This is one way in which binutils 2.36+ (with ASLR enabled), will just choke on the
253254
# assembly we generate because it's always absolute (32bit) addressing modes.
@@ -257,7 +258,7 @@ in {
257258
++ onWindows (fromUntil "9.2" "9.4" ./patches/ghc/windows-pseudo-pic-9.2.patch)
258259

259260
# Fix issue loading windows dll using `.dll.a` file
260-
++ onWindows (fromUntil "9.4" "9.12" ./patches/ghc/ghc-9.10-windows-dll-dependent-symbol-type-fix.patch)
261+
++ onWindows (fromUntil "9.4" "9.14" ./patches/ghc/ghc-9.10-windows-dll-dependent-symbol-type-fix.patch)
261262
;
262263
in ({
263264
ghc8107 = traceWarnOld "8.10" (final.callPackage ../compiler/ghc {

overlays/fetch-source.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ in {
4141
} // {
4242
lastModifiedDate = formatSecondsSinceEpoch lockFile.nodes.${name}.locked.lastModified;
4343
};
44-
}) ["ghc910X" "ghc911"]);
44+
}) ["ghc912X" "ghc913"]);
4545
};
4646
}

0 commit comments

Comments
 (0)