Skip to content

Commit 6ab363f

Browse files
authored
Default evalPackages to pkgsBuildBuild (input-output-hk#1927)
* Default evalPackages to pkgsBuildBuild In order to allow x86_64 machines to download aarch64 derivations from nix caches we started using `evalPackages` instead of `pkgs` to download hackage revision .cabal files. https://github.com/input-output-hk/haskell.nix/pull/1911/files#diff-3f29943279540479b678e36737d12e3f9cf07ef52a2622d40a9e7a3cf6516264R48 This was fine for most new projects, but for older ones (including some of our older tests) it broke. Unfortunately the test is one that uses the `master` branch of haskell.nix (so it did not break until after the PR was merged). This change defaults `evalPackages` to `pkgsBuildBuild` in `plan.nix`. * Fix for docs
1 parent 7a40216 commit 6ab363f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/plan.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ in {
310310

311311
evalPackages = mkOption {
312312
type = unspecified;
313+
default = pkgs.pkgsBuildBuild;
314+
defaultText = "pkgs.pkgsBuildBuild";
313315
description = ''
314316
The `evalPackages` that will be used when building `hoogle` and shell tools.
315317
'';

0 commit comments

Comments
 (0)