From 0a948da8afed635604bcf6cf3d69ca0f8e21f025 Mon Sep 17 00:00:00 2001 From: Edmund Wu Date: Thu, 10 Jan 2019 20:54:35 -0500 Subject: [PATCH] linux_rpi: allow modDirVersion override --- pkgs/os-specific/linux/kernel/linux-rpi.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/linux-rpi.nix b/pkgs/os-specific/linux/kernel/linux-rpi.nix index 7077a70a7ab0..4643d0a04409 100644 --- a/pkgs/os-specific/linux/kernel/linux-rpi.nix +++ b/pkgs/os-specific/linux/kernel/linux-rpi.nix @@ -26,7 +26,7 @@ lib.overrideDerivation (buildLinux (args // rec { } // (args.features or {}); extraMeta.hydraPlatforms = [ "aarch64-linux" ]; -})) (oldAttrs: { +} // (args.argsOverride or {}))) (oldAttrs: { postConfigure = '' # The v7 defconfig has this set to '-v7' which screws up our modDirVersion. sed -i $buildRoot/.config -e 's/^CONFIG_LOCALVERSION=.*/CONFIG_LOCALVERSION=""/'