From 69fbab6f199eb4cf4ced6014d6f2cce52183ae4a Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Wed, 26 Apr 2023 02:44:39 -0700 Subject: [PATCH] pkgs/top-level/release-cross.nix: comment explaining how to build all bootstrapFiles --- pkgs/top-level/release-cross.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index f15349da64fa..3563e5e5d978 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -6,6 +6,10 @@ e.g. $ nix-build pkgs/top-level/release-cross.nix -A crossMingw32.nixUnstable --arg supportedSystems '[builtins.currentSystem]' + + To build all of the bootstrapFiles bundles on every enabled platform, use: + + $ nix-build --expr 'with import ./pkgs/top-level/release-cross.nix {supportedSystems = [builtins.currentSystem];}; builtins.mapAttrs (k: v: v.build) bootstrapTools' */ { # The platforms *from* which we cross compile.