From 1b7264d349cb9c7442f6fbea87e156c24b945e6b Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Wed, 1 Aug 2012 23:32:02 -0400 Subject: [PATCH] linux/manual-config.nix: When stripping, use xargs -r in case CONFIG_MODULES=y but no modules are actually installed --- pkgs/os-specific/linux/kernel/manual-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 6238509e8fa6..523d52b0d3c0 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -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 '';