Skip to content

Commit

Permalink
release.nix: pass missing parameter
Browse files Browse the repository at this point in the history
Commit 5643714 introduced a tiny
bug, neglecting to pass the `pkgs` parameter to `release.nix`.

This bug went unnoticed because commit
e663518 had introduced a much larger
bug: an attribute collision resulted in `stdenvBootstrapTools` being
shadowed, and therefore never evaluated.  As a result, the missing
`pkgs` parameter did not lead to an error.

This commit passes the missing parameter so that fixing the
larger/earlier bug will not cause an eval failure.
  • Loading branch information
Adam Joseph committed Jul 27, 2022
1 parent 638cf48 commit e76b10c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/top-level/release.nix
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ let
(system: {
inherit
(import ../stdenv/linux/make-bootstrap-tools.nix {
localSystem = { inherit system; };
pkgs = import ../.. {
localSystem = { inherit system; };
crossSystem = { inherit system; };
};
})
dist test;
})
Expand Down

0 comments on commit e76b10c

Please sign in to comment.