From aad971f342e54dbc9a8a11f2b868977756839d49 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Tue, 3 Jan 2023 01:22:03 -0800 Subject: [PATCH] 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. --- pkgs/top-level/release-cross.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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