diff options
author | John Ericson <git@JohnEricson.me> | 2022-06-08 13:35:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 13:35:29 -0400 |
commit | 97bdf4893d643e47d2bd62e9a2ec77c16ead6b9f (patch) | |
tree | dec9173258eddc4d7ba286cd6db5e2900791e0bd /pkgs | |
parent | ecf2791d8b2a53d72545fc3650b1386f7284c064 (diff) | |
parent | 5dfe7f928e43d6e493f3bec504fa94b6c38ee0c4 (diff) |
Merge pull request #176901 from alyssais/release-cross
release-cross.nix: fix cross bootstrap tools eval
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/stdenv/linux/make-bootstrap-tools-cross.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix index 02eb112451bd4..2665330206e1c 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix @@ -1,11 +1,16 @@ {system ? builtins.currentSystem}: let + 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 { - localSystem = { inherit system; }; - inherit crossSystem; + pkgs = releaseLib.pkgsForCross crossSystem system; }; - lib = import ../../../lib; in lib.mapAttrs (n: make) (with lib.systems.examples; { armv5tel = sheevaplug; pogoplug4 = pogoplug4; |