nixos/stage-1: fix stripping

got broken in 6ea1a2a1be which changed
runCommandCC to runCommand but was not
noticed because it was failing silently

runCommand doesn't include CC or bintools
This commit is contained in:
Artturin 2023-07-20 08:23:56 +03:00
parent 3ec081d54e
commit 69267c22f1

View file

@ -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
}
''