summary refs log tree commit diff
path: root/pkgs/stdenv/linux
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-06-08 22:22:26 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-06-08 22:22:26 +0200
commit6451e9d4a54ec941ac1722a2b335898118a5b347 (patch)
treee9ad5860b4ab19946d2a133a30c072f226b46937 /pkgs/stdenv/linux
parent351556ffacfaf628fec725f36e2430816b0357f0 (diff)
parent53ca59a8a34423c0c742226b37e51ee78ab75ef9 (diff)
downloadnixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar.gz
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar.bz2
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar.lz
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar.xz
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.tar.zst
nixpkgs-6451e9d4a54ec941ac1722a2b335898118a5b347.zip
Merge remote-tracking branch 'origin/staging-next' into staging
Diffstat (limited to 'pkgs/stdenv/linux')
-rw-r--r--pkgs/stdenv/linux/make-bootstrap-tools-cross.nix11
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 02eb112451b..2665330206e 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;