1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-15 07:29:41 +01:00

apple/t2: bump kernel from 6.11 to 6.11.7

This commit is contained in:
Cassie Cheung 2024-11-10 15:32:21 +08:00 committed by mergify[bot]
parent 184687ae1a
commit 863e3ca998

View file

@ -2,19 +2,19 @@
, ... } @ args: , ... } @ args:
let let
version = "6.11"; version = "6.11.7";
majorVersion = with lib; (elemAt (take 1 (splitVersion version)) 0); majorVersion = with lib; (elemAt (take 1 (splitVersion version)) 0);
patchRepo = fetchFromGitHub { patchRepo = fetchFromGitHub {
owner = "t2linux"; owner = "t2linux";
repo = "linux-t2-patches"; repo = "linux-t2-patches";
rev = "54b4f914930d92cf0b94601b402ec93f54a76390"; rev = "ec4545c603cf2ef315818eccce62d06ee18e5c60";
hash = "sha256-mpGWcx+zE5kb5USE4CPGrrleZRNGxVUGxc9eQY5IIfY="; hash = "sha256-Nm7WiLjotwk5NDrpKTgcKtyQTOUG7A88ZgtzD460qY0=";
}; };
kernel = fetchzip { kernel = fetchzip {
url = "mirror://kernel/linux/kernel/v${majorVersion}.x/linux-${version}.tar.xz"; url = "mirror://kernel/linux/kernel/v${majorVersion}.x/linux-${version}.tar.xz";
hash = "sha256-QIbHTLWI5CaStQmuoJ1k7odQUDRLsWNGY10ek0eKo8M="; hash = "sha256-wHWd8xfEFOTy0FkFBtn30+6816XC4uhgn0G9b40n9Co=";
}; };
in in
buildLinux (args // { buildLinux (args // {