1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-14 06:59:41 +01:00

Merge pull request #1132 from zachcoyle/t2-linux-6.11.0

apple/t2: bump kernel to 6.11
This commit is contained in:
Jörg Thalheim 2024-09-19 07:27:33 +02:00 committed by GitHub
commit 82975afdfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,19 +2,19 @@
, ... } @ args: , ... } @ args:
let let
version = "6.10.3"; version = "6.11";
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 = "29d6f013088303623cd9f2c6f5951eb3455830a6"; rev = "54b4f914930d92cf0b94601b402ec93f54a76390";
hash = "sha256-V0dakKRPC6Hj1I+SCiZXOCwtS0mZCCAsWnGtJnFlzxU="; hash = "sha256-mpGWcx+zE5kb5USE4CPGrrleZRNGxVUGxc9eQY5IIfY=";
}; };
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-+tWXv9j5bUJN7kzFZxuL+wB1fBCyXbtyms3Q5/dTtK4="; hash = "sha256-QIbHTLWI5CaStQmuoJ1k7odQUDRLsWNGY10ek0eKo8M=";
}; };
in in
buildLinux (args // { buildLinux (args // {