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:
parent
3ec081d54e
commit
69267c22f1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
''
|
||||
|
|
Loading…
Reference in a new issue