linux/manual-config: ignore nulls.
There's no need to set the postFixup env var at all if we're not modular.
This commit is contained in:
parent
b6452df939
commit
8ce1295ad3
@ -146,11 +146,13 @@ stdenv.mkDerivation {
|
||||
$installFlags "''${installFlagsArray[@]}"
|
||||
'');
|
||||
|
||||
postFixup = optionalString isModular ''
|
||||
postFixup = if isModular then ''
|
||||
if [ -z "$dontStrip" ]; then
|
||||
find $out -name "*.ko" -print0 | xargs -0 -r strip -S
|
||||
fi
|
||||
'';
|
||||
'' else null;
|
||||
|
||||
__ignoreNulls = true;
|
||||
|
||||
meta = {
|
||||
description = "The Linux kernel";
|
||||
|
Loading…
x
Reference in New Issue
Block a user