forked from mirrors/nixpkgs
release-cross.nix: fix cross bootstrap tools eval
In5643714dea
, I changed pkgs/stdenv/linux/make-bootstrap-tools.nix to take a package set instead of system and localSystem arguments, but I forgot to update make-bootstrap-tools-cross.nix. Fixes:5643714dea
("stdenvBootstrapTools: inherit {cross,local}System")
This commit is contained in:
parent
74562a214e
commit
5dfe7f928e
|
@ -1,11 +1,16 @@
|
|||
{system ? builtins.currentSystem}:
|
||||
|
||||
let
|
||||
make = crossSystem: import ./make-bootstrap-tools.nix {
|
||||
localSystem = { inherit system; };
|
||||
inherit crossSystem;
|
||||
inherit (releaseLib) lib;
|
||||
releaseLib = import ../../top-level/release-lib.nix {
|
||||
# We're not using any functions from release-lib.nix that look at
|
||||
# supportedSystems.
|
||||
supportedSystems = [];
|
||||
};
|
||||
|
||||
make = crossSystem: import ./make-bootstrap-tools.nix {
|
||||
pkgs = releaseLib.pkgsForCross crossSystem system;
|
||||
};
|
||||
lib = import ../../../lib;
|
||||
in lib.mapAttrs (n: make) (with lib.systems.examples; {
|
||||
armv5tel = sheevaplug;
|
||||
pogoplug4 = pogoplug4;
|
||||
|
|
Loading…
Reference in a new issue