From 26ff3da4b774934cd877332f920dacedf544197d Mon Sep 17 00:00:00 2001 From: Edmund Wu Date: Fri, 27 Sep 2019 21:45:20 -0400 Subject: [PATCH] linux_rpi: fix overrides --- 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 b383abdef1dc..9e192465c473 100644 --- a/pkgs/os-specific/linux/kernel/linux-rpi.nix +++ b/pkgs/os-specific/linux/kernel/linux-rpi.nix @@ -33,7 +33,7 @@ lib.overrideDerivation (buildLinux (args // { platforms = with lib.platforms; [ arm aarch64 ]; 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=""/'