summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2022-12-06 02:38:47 +0100
committerSandro Jäckel <sandro.jaeckel@sap.com>2023-01-31 14:45:39 +0100
commit6ea1a2a1be4e93f938ff084863eab1bd13292f65 (patch)
tree9b9001d6b99584a25825d5b1b8d3dcec8e8c2b8d /nixos/modules
parent23ce77d76e3f679146eb3bde92c90bd5223067dc (diff)
nixos/stage-1: build extraUtils without compiler
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 4fcaeebffc3b..d26ea7597c45 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -90,7 +90,7 @@ let
# copy what we need. Instead of using statically linked binaries,
# we just copy what we need from Glibc and use patchelf to make it
# work.
- extraUtils = pkgs.runCommandCC "extra-utils"
+ extraUtils = pkgs.runCommand "extra-utils"
{ nativeBuildInputs = [pkgs.buildPackages.nukeReferences];
allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd
}