summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2023-02-03 08:59:08 +0800
committerGitHub <noreply@github.com>2023-02-03 08:59:08 +0800
commit96339d786a2e20f8e35e4496247aa548d4a56f8a (patch)
tree997f855ba85f5c8a26a82672d4a89bb7611fd03a /nixos/modules
parent58e68a78716db89e8ea77b4f74f68c0a851e302e (diff)
parent6ea1a2a1be4e93f938ff084863eab1bd13292f65 (diff)
Merge pull request #213782 from SuperSandro2000/stage1-extraUtils
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
}