on iko/ghcjs-patch-master help sign in
Bump internal-* to ghc 8.10.4 (from 8.8.4) (#1129)

Anyone using `hpack` and/or `stack` will have a dependency on `internal-nix-tools` (built with a fixed version of ghc). This is fine if your `nixpkgs` is one of the ones we cache, but if not we may have to wait for an extra ghc to build. When this happens it would be nice if it is at least building a more recent version (rather than an older one).

commit532e71470b41fc0fd0d3d858ea98d7f07f37d309 authorHamish Mackenzie <Hamish.Mackenzie@iohk.io> dateWed 2 Jun 2021, 14:40 (5 years ago) parentb790e67
4 files changed+12−11
.buildkite/pipeline.yml+4−4 ci.nix+5−4 overlays/bootstrap.nix+2−2 test/call-stack-to-nix/stack.yaml+1−1
.buildkite/pipeline.yml+4−4
@@ -1,6 +1,6 @@
11steps:
2− - label: 'Run tests with ghc884'
3− command: "./test/tests.sh ghc884"
2+ - label: 'Run tests with ghc8104'
3+ command: "./test/tests.sh ghc8104"
44 agents:
55 system: x86_64-linux
66
@@ -14,9 +14,9 @@ steps:
1414 agents:
1515 system: x86_64-linux
1616
17− - label: 'Check closure size with ghc884'
17+ - label: 'Check closure size with ghc8104'
1818 command:
19− - nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc884 -o check-closure-size.sh
19+ - nix-build build.nix -A maintainer-scripts.check-closure-size --argstr compiler-nix-name ghc8104 -o check-closure-size.sh
2020 - echo "+++ Closure size (MB)"
2121 - ./check-closure-size.sh
2222 agents:
ci.nix+5−4
@@ -25,12 +25,13 @@
2525 # Update supported-ghc-versions.md to reflect any changes made here.
2626 {
2727 ghc865 = true;
28− ghc884 = false; # Just included because the native version is needed at eval time
28+ ghc8104 = false; # Just included because the native version is needed at eval time
2929 } // nixpkgs.lib.optionalAttrs (nixpkgsName == "R2009") {
30+ ghc865 = false;
3031 ghc884 = true;
3132 ghc8104 = true;
3233 } // nixpkgs.lib.optionalAttrs (nixpkgsName == "unstable") {
33− ghc884 = false;
34+ ghc865 = false;
3435 ghc8104 = true;
3536 ghc901 = true;
3637 ghc810420210212 = false;
@@ -52,10 +53,10 @@
5253 # Windows cross compilation is currently broken on macOS
5354 inherit (lib.systems.examples) mingwW64;
5455 } // lib.optionalAttrs (system == "x86_64-linux"
55− && !(nixpkgsName == "R2003" && compiler-nix-name == "ghc884")) {
56+ && !(nixpkgsName == "R2003" && compiler-nix-name == "ghc8104")) {
5657 # Musl cross only works on linux
5758 # aarch64 cross only works on linux
58− # We also skip these for the R2003 was build of ghc884 (we only need the
59+ # We also skip these for the R2003 was build of ghc8104 (we only need the
5960 # native so ifdLevel 1 includes compiler needed in ifdLevel2 eval)
6061 inherit (lib.systems.examples) musl64 aarch64-multiplatform;
6162 };
overlays/bootstrap.nix+2−2
@@ -756,8 +756,8 @@ in {
756756 # there should be no difference in the behaviour of these tools.
757757 # (stack projects on macOS may see a significant change in the
758758 # closure size of their build dependencies due to dynamic linking).
759− internal-cabal-install = final.haskell-nix.cabal-install.ghc884;
760− internal-nix-tools = final.haskell-nix.nix-tools.ghc884;
759+ internal-cabal-install = final.haskell-nix.cabal-install.ghc8104;
760+ internal-nix-tools = final.haskell-nix.nix-tools.ghc8104;
761761
762762 # WARN: The `import ../. {}` will prevent
763763 # any cross to work, as we will loose
test/call-stack-to-nix/stack.yaml+1−1
@@ -17,7 +17,7 @@
1717#
1818# resolver: ./custom-snapshot.yaml
1919# resolver: https://example.com/snapshots/2018-01-01.yaml
20−resolver: lts-13.19
20+resolver: lts-14.13
2121
2222# User packages to be built.
2323# Various formats can be used as shown in the example below.