diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-12-06 02:38:47 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@sap.com> | 2023-01-31 14:45:39 +0100 |
commit | 6ea1a2a1be4e93f938ff084863eab1bd13292f65 (patch) | |
tree | 9b9001d6b99584a25825d5b1b8d3dcec8e8c2b8d /nixos/modules/system/boot/stage-1.nix | |
parent | 23ce77d76e3f679146eb3bde92c90bd5223067dc (diff) |
nixos/stage-1: build extraUtils without compiler
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 2 |
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 4fcaeebffc3b2..d26ea7597c450 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 } |