specify rpi version
This commit is contained in:
parent
4eedac4eee
commit
29f9d4a4b9
2 changed files with 5 additions and 2 deletions
|
@ -107,7 +107,10 @@
|
|||
// (
|
||||
if system == "aarch64-linux"
|
||||
then rec {
|
||||
rpiKernel = pkgs.callPackage ./linux/rpi {kernelPatches = [];};
|
||||
rpi4Kernel = pkgs.callPackage ./linux/rpi {
|
||||
kernelPatches = [];
|
||||
rpiVersion = 4;
|
||||
};
|
||||
}
|
||||
else {}
|
||||
);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
in
|
||||
lib.overrideDerivation (buildLinux (args
|
||||
// {
|
||||
version = "${modDirVersion}";
|
||||
version = "${modDirVersion}-rp${toString rpiVersion}";
|
||||
inherit modDirVersion;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
|
Reference in a new issue