This commit is contained in:
2026-02-17 10:37:07 -06:00
parent ed19748358
commit a5162e9e76
6 changed files with 62 additions and 59 deletions

View File

@@ -5,6 +5,7 @@
buildLinux,
rpiVersion ? 5,
namespace,
kernelVersion ? "stable",
...
}@args:
@@ -14,11 +15,11 @@ let
inherit (lib.${namespace}) selectVariant mkAllSources;
versionSpec = importJSON ./version.json;
selected = selectVariant versionSpec "lts" null;
selected = selectVariant versionSpec kernelVersion null;
sources = mkAllSources selected;
modDirVersion = selected.variables.modDirVersion;
tag = "stable"; # sources.tag;
tag = kernelVersion; # sources.tag;
# NOTE: raspberrypifw & raspberryPiWirelessFirmware should be updated with this
# all of these fail for various reasons
@@ -49,7 +50,7 @@ lib.overrideDerivation
inherit modDirVersion;
pname = "linux-rpi${toString rpiVersion}";
src = sources.stable;
src = sources.${kernelVersion};
defconfig =
{