bulk versions.json
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user