Compare commits

...

2 commits

3 changed files with 9 additions and 6 deletions

8
flake.lock generated
View file

@ -21,16 +21,16 @@
"linux-jhovold": { "linux-jhovold": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1728631036, "lastModified": 1728887054,
"narHash": "sha256-1LnClVjY6WS+IR9eqPFA7gzXm0cio3mY23NXj9cKHHs=", "narHash": "sha256-fyXyjrzptxvhG+7xI4ADo6raKRZWzg/Jph1waR2Vc30=",
"owner": "jhovold", "owner": "jhovold",
"repo": "linux", "repo": "linux",
"rev": "6a97bc22fa36010400b91e6d5979741c391112c3", "rev": "6bc37da2231cfed860662fa9717d0cf2896e1145",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "jhovold", "owner": "jhovold",
"ref": "wip/sc8280xp-6.12-rc2", "ref": "wip/sc8280xp-6.12-rc3",
"repo": "linux", "repo": "linux",
"type": "github" "type": "github"
} }

View file

@ -3,7 +3,7 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts"; flake-parts.url = "github:hercules-ci/flake-parts";
linux-jhovold.url = "github:jhovold/linux/wip/sc8280xp-6.12-rc2"; linux-jhovold.url = "github:jhovold/linux/wip/sc8280xp-6.12-rc3";
linux-jhovold.flake = false; linux-jhovold.flake = false;
}; };

View file

@ -26,7 +26,10 @@ in
{ {
linux_jhovold = pkgs.callPackage linux_x13s_pkg { linux_jhovold = pkgs.callPackage linux_x13s_pkg {
src = inputs.linux-jhovold; src = inputs.linux-jhovold;
version = "6.12.0-rc2"; version = let
lock = builtins.fromJSON (builtins.readFile ../flake.lock);
in builtins.elemAt (builtins.tail (builtins.split "xp-" lock.nodes.linux-jhovold.original.ref)) 1;
defconfig = "johan_defconfig"; defconfig = "johan_defconfig";
}; };