diff options
author | Artturin <Artturin@artturin.com> | 2023-07-20 08:23:56 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2023-07-20 21:26:38 +0300 |
commit | 69267c22f169133a4c16a91212f109974740d17a (patch) | |
tree | cb8626eef3677b800c94f34eea23e3e237d68418 /nixos/modules/system/boot | |
parent | 3ec081d54ebed5f8f308efbc0644f9e65ef297d9 (diff) |
nixos/stage-1: fix stripping
got broken in 6ea1a2a1be4e93f938ff084863eab1bd13292f65 which changed runCommandCC to runCommand but was not noticed because it was failing silently runCommand doesn't include CC or bintools
Diffstat (limited to 'nixos/modules/system/boot')
-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 1e52bd9e02f77..4d8353c7ac58c 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -91,7 +91,7 @@ let # we just copy what we need from Glibc and use patchelf to make it # work. extraUtils = pkgs.runCommand "extra-utils" - { nativeBuildInputs = [pkgs.buildPackages.nukeReferences]; + { nativeBuildInputs = with pkgs.buildPackages; [ nukeReferences bintools ]; allowedReferences = [ "out" ]; # prevent accidents like glibc being included in the initrd } '' |