Skip to content

Commit 57db6ef

Browse files
committed
Stick with ghc 8.10.7 for old versions of alex and happy
1 parent 7d3f24b commit 57db6ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

overlays/bootstrap.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1110,13 +1110,13 @@ in {
11101110
# hackage with haskell.nix. For alex and happy we
11111111
# need to use the boot strap compiler as we need them
11121112
# to build ghcs from source.
1113-
alex = final.haskell-nix.tool buildBootstrapper.compilerNixName "alex" ({config, pkgs, ...}: {
1113+
alex = final.haskell-nix.tool "ghc8107" "alex" ({config, pkgs, ...}: {
11141114
compilerSelection = p: p.haskell.compiler;
11151115
version = "3.2.4";
11161116
inherit ghcOverride index-state;
11171117
materialized = ../materialized/bootstrap + "/${buildBootstrapper.compilerNixName}/alex";
11181118
});
1119-
happy = final.haskell-nix.tool buildBootstrapper.compilerNixName "happy"
1119+
happy = final.haskell-nix.tool "ghc8107" "happy"
11201120
({config, pkgs, ...}: {
11211121
compilerSelection = p: p.haskell.compiler;
11221122
version = "1.19.12";

0 commit comments

Comments
 (0)