Skip to content

Commit 4d7b228

Browse files
committed
Fix for building with nixpkgs GHC
1 parent 20b8f90 commit 4d7b228

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

builder/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ let
2626
};
2727

2828
setup-builder = haskellLib.weakCallPackage pkgs ./setup-builder.nix {
29-
ghc = (ghc.passthru.buildGHC or ghc);
29+
ghc = (ghc.buildGHC or ghc);
3030
hsPkgs = hsPkgs.buildPackages;
3131
# We need to use the buildPackages stdenv to build the setup-builder.
3232
# in the native case, it would be the same in the cross case however
@@ -54,7 +54,7 @@ let
5454
# When building setup depends we need to use the build systems GHC and Packages
5555
makeSetupConfigFiles = haskellLib.weakCallPackage buildPackages ./make-config-files.nix {
5656
inherit haskellLib nonReinstallablePkgs;
57-
ghc = (ghc.passthru.buildGHC or ghc);
57+
ghc = (ghc.buildGHC or ghc);
5858
};
5959

6060

0 commit comments

Comments
 (0)