about summary refs log tree commit diff
path: root/pkgs/top-level/release-cross.nix
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-01-03 01:22:03 -0800
committerAdam Joseph <adam@westernsemico.com>2023-01-03 01:25:05 -0800
commitaad971f342e54dbc9a8a11f2b868977756839d49 (patch)
treeb03b8121eb49d38e17c709be569c35f424cf225b /pkgs/top-level/release-cross.nix
parent1659dab09854b3338a38da318582d153a0bd8db5 (diff)
downloadnixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar.gz
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar.bz2
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar.lz
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar.xz
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.tar.zst
nixlib-aad971f342e54dbc9a8a11f2b868977756839d49.zip
release-cross.nix: nixCrossStatic: do not burden *-darwin builders
PR #181151 added the nixCrossStatic jobs, which cross-compile
nixStatic for (currently) mips64el and powerpc64le, so users on
those platforms can use it to bootstrap their own builds of
nixpkgs/nixos:

  https://github.com/NixOS/nixpkgs/pull/181151

However I unintentionally caused that PR to queue this job on *all*
Hydra builders, including the (heavily burdened) *-darwin builders:

  https://hydra.nixos.org/build/203846776
  https://hydra.nixos.org/build/203846780

There is no need to build these derivations with a darwin
buildPlatform.  Let's limit this task to only buildPlatform=*-linux.
Diffstat (limited to 'pkgs/top-level/release-cross.nix')
-rw-r--r--pkgs/top-level/release-cross.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix
index ccca912db791..6eeda58a6c17 100644
--- a/pkgs/top-level/release-cross.nix
+++ b/pkgs/top-level/release-cross.nix
@@ -92,7 +92,7 @@ let
   # with their host distribution's versions of nix's numerous
   # build dependencies.
   nixCrossStatic = {
-    nixStatic = nativePlatforms;
+    nixStatic = platforms.linux;  # no need for buildPlatform=*-darwin
   };
 
 in