release.nix: pass missing parameter
Commit5643714dea
introduced a tiny bug, neglecting to pass the `pkgs` parameter to `release.nix`. This bug went unnoticed because commite663518d18
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.
This commit is contained in:
parent
2a452a4cbe
commit
09d4fd0f77
1 changed files with 10 additions and 3 deletions
|
@ -167,7 +167,9 @@ let
|
|||
(system: {
|
||||
inherit
|
||||
(import ../stdenv/linux/make-bootstrap-tools.nix {
|
||||
localSystem = { inherit system; };
|
||||
pkgs = import ../.. {
|
||||
localSystem = { inherit system; };
|
||||
};
|
||||
})
|
||||
dist test;
|
||||
})
|
||||
|
@ -175,7 +177,9 @@ let
|
|||
// optionalAttrs supportDarwin.x86_64 {
|
||||
x86_64-darwin =
|
||||
let
|
||||
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; };
|
||||
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix {
|
||||
localSystem = { system = "x86_64-darwin"; };
|
||||
};
|
||||
in {
|
||||
# Lightweight distribution and test
|
||||
inherit (bootstrap) dist test;
|
||||
|
@ -186,7 +190,10 @@ let
|
|||
# Cross compiled bootstrap tools
|
||||
aarch64-darwin =
|
||||
let
|
||||
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix { system = "x86_64-darwin"; crossSystem = "aarch64-darwin"; };
|
||||
bootstrap = import ../stdenv/darwin/make-bootstrap-tools.nix {
|
||||
localSystem = { system = "x86_64-darwin"; };
|
||||
crossSystem = { system = "aarch64-darwin"; };
|
||||
};
|
||||
in {
|
||||
# Distribution only for now
|
||||
inherit (bootstrap) dist;
|
||||
|
|
Loading…
Reference in a new issue