diff options
author | Shea Levy <shea@shealevy.com> | 2013-03-02 07:51:12 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2013-03-02 07:51:12 -0500 |
commit | 8ce1295ad35bd7286fd9be21d28b6d657673c64b (patch) | |
tree | 4088686480064250ce077122c0d816cd6c74aea9 /pkgs/os-specific/linux/kernel/manual-config.nix | |
parent | b6452df939e3e67546f6fe7af359d42d975d6769 (diff) |
linux/manual-config: ignore nulls.
There's no need to set the postFixup env var at all if we're not modular.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/manual-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/manual-config.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/manual-config.nix b/pkgs/os-specific/linux/kernel/manual-config.nix index 05132b8365ba5..6bbf6f5546985 100644 --- a/pkgs/os-specific/linux/kernel/manual-config.nix +++ b/pkgs/os-specific/linux/kernel/manual-config.nix @@ -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"; |