linux_rpi: fix overrides

This commit is contained in:
Edmund Wu 2019-09-27 21:45:20 -04:00
parent 6fd3fea4db
commit 26ff3da4b7
No known key found for this signature in database
GPG Key ID: 76AA3F9F2BD3E3A0

View File

@ -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=""/'