mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
linux/manual-config.nix: When stripping, use xargs -r in case CONFIG_MODULES=y but no modules are actually installed
This commit is contained in:
parent
4aba2bb3f5
commit
1b7264d349
@ -140,7 +140,7 @@ stdenv.mkDerivation {
|
||||
|
||||
postFixup = optionalString isModular ''
|
||||
if [ -z "$dontStrip" ]; then
|
||||
find $out -name "*.ko" -print0 | xargs -0 strip -S
|
||||
find $out -name "*.ko" -print0 | xargs -0 -r strip -S
|
||||
fi
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user