bulk versions.json

This commit is contained in:
mjallen18
2026-01-21 12:53:13 -06:00
parent 7cc4e8c99e
commit 2b9908e760
52 changed files with 1033 additions and 335 deletions

View File

@@ -4,15 +4,22 @@
lib,
fetchFromGitHub,
buildLinux,
pkgs,
rpiVersion ? 5,
...
}@args:
let
# stdenv = ccacheStdenv;
modDirVersion = "6.12.47";
tag = "stable_20250916";
hash = "sha256-HG8Oc04V2t54l0SOn4gKmNJWQUrZfjWusgKcWvx74H0==";
inherit (lib.trivial) importJSON;
versionSpec = importJSON ./version.json;
versioning = import ../../../lib/versioning.nix { inherit lib pkgs; };
selected = versioning.selectVariant versionSpec null null;
vars = selected.variables or {};
sources = versioning.mkAllSources selected;
modDirVersion = vars.modDirVersion;
tag = vars.tag;
# NOTE: raspberrypifw & raspberryPiWirelessFirmware should be updated with this
# all of these fail for various reasons
@@ -43,11 +50,7 @@ lib.overrideDerivation
inherit modDirVersion;
pname = "linux-rpi${toString rpiVersion}";
src = fetchFromGitHub {
owner = "raspberrypi";
repo = "linux";
inherit tag hash;
};
src = sources.kernel;
defconfig =
{