Skip to content

Commit fdcf05a

Browse files
committed
Update core interface files GHC to 8.10.4
1 parent 422c4af commit fdcf05a

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

ci.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") {
3030
ghc884 = true;
3131
ghc8104 = true;
32-
ghc810220201118 = false;
3332
} // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
3433
ghc884 = true;
3534
ghc8104 = true;
35+
ghc810420210212 = false;
3636
});
3737
systems = nixpkgs: nixpkgs.lib.filterAttrs (_: v: builtins.elem v supportedSystems) {
3838
# I wanted to take these from 'lib.systems.examples', but apparently there isn't one for linux!
@@ -46,7 +46,7 @@
4646
in lib.optionalAttrs (nixpkgsName == "unstable" && (__elem compiler-nix-name ["ghc865" "ghc884"])) {
4747
inherit (lib.systems.examples) ghcjs;
4848
} // lib.optionalAttrs (system == "x86_64-linux" && (
49-
(nixpkgsName == "R2009" && __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118"])
49+
(nixpkgsName == "R2009" && __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212"])
5050
|| (nixpkgsName == "R2003" && __elem compiler-nix-name ["ghc865"]))) {
5151
# Windows cross compilation is currently broken on macOS
5252
inherit (lib.systems.examples) mingwW64;

overlays/bootstrap.nix

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,9 @@ in {
423423

424424
ghc-patches = ghc-patches "8.10.4";
425425
};
426-
# ghc 8.10.2 with patches needed by plutus
427-
ghc810220201118 = final.callPackage ../compiler/ghc {
428-
extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc810220201118; };
426+
# ghc 8.10.4 with patches needed by plutus
427+
ghc810420210212 = final.callPackage ../compiler/ghc {
428+
extra-passthru = { buildGHC = final.buildPackages.haskell-nix.compiler.ghc810420210212; };
429429

430430
bootPkgs = bootPkgs // {
431431
# Not using 8.8 due to https://gitlab.haskell.org/ghc/ghc/-/issues/18143
@@ -437,16 +437,15 @@ in {
437437
llvmPackages = final.llvmPackages_9;
438438

439439
src-spec = rec {
440-
version = "8.10.2";
440+
version = "8.10.4";
441441
url = "https://downloads.haskell.org/~ghc/${version}/ghc-${version}-src.tar.xz";
442-
sha256 = "02w8n085bw38vyp694j0lfk5wcnwkdaj7hhp0saj71x74533lmww";
442+
sha256 = "03li4k10hxgyxcdyyz2092wx09spr1599hi0sxbh4m889qdqgbsj";
443443
};
444-
445-
ghc-patches = ghc-patches "8.10.2"
444+
ghc-patches = ghc-patches "8.10.4"
446445
++ [ ./patches/ghc/core-field.patch ];
447446

448-
# Avoid clashes with normal ghc8102
449-
ghc-version = "8.10.2.20201118";
447+
# Avoid clashes with normal ghc8104
448+
ghc-version = "8.10.4.20210212";
450449
};
451450
} // final.lib.optionalAttrs (final.targetPlatform.isGhcjs or false) (
452451
if final.hostPlatform.isGhcjs

test/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ let
202202
coverage-golden = callTest ./coverage-golden { inherit compiler-nix-name;};
203203
coverage-no-libs = callTest ./coverage-no-libs { inherit compiler-nix-name; };
204204
snapshots = callTest ./snapshots {};
205-
} // lib.optionalAttrs (!stdenv.hostPlatform.isGhcjs && !(__elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118"])) {
205+
} // lib.optionalAttrs (!stdenv.hostPlatform.isGhcjs && !(__elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212"])) {
206206
# Pandoc does not build with ghcjs or ghc 8.10 yet (lookup-sha256 and fully-static build pandoc)
207207
lookup-sha256 = callTest ./lookup-sha256 { inherit compiler-nix-name; };
208208
# fully-static = callTest ./fully-static { inherit (pkgs) buildPackages; };

test/setup-deps/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let
2020
platforms = platforms.unix;
2121
# Building reinstallable lib GHC is broken on 8.10, and we require lib ghc so this won't work with cross-compiling.
2222
# Moreover, even building the plan doesn't seem to work in these circumstances.
23-
disabled = stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform.isMusl || __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810220201118"];
23+
disabled = stdenv.buildPlatform != stdenv.hostPlatform || stdenv.hostPlatform.isMusl || __elem compiler-nix-name ["ghc8101" "ghc8102" "ghc8103" "ghc8104" "ghc810420210212"];
2424
};
2525
in
2626

0 commit comments

Comments
 (0)