linuxPackages_zen: 5.13.9 -> 5.13.10-zen1
(cherry picked from commit 27edf4ccb48ca48375064d5fc964b8ad9b7c0578)
This commit is contained in:
parent
219a77ea26
commit
5264329acd
@ -1,20 +1,25 @@
|
|||||||
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
|
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "5.13.9";
|
# having the full version string here makes it easier to update
|
||||||
suffix = "zen1";
|
modDirVersion = "5.13.10-zen1";
|
||||||
|
parts = lib.splitString "-" modDirVersion;
|
||||||
|
version = lib.elemAt parts 0;
|
||||||
|
suffix = lib.elemAt parts 1;
|
||||||
|
|
||||||
|
numbers = lib.splitString "." version;
|
||||||
|
branch = "${lib.elemAt numbers 0}.${lib.elemAt numbers 1}";
|
||||||
in
|
in
|
||||||
|
|
||||||
buildLinux (args // {
|
buildLinux (args // {
|
||||||
modDirVersion = "${version}-${suffix}";
|
inherit version modDirVersion;
|
||||||
inherit version;
|
|
||||||
isZen = true;
|
isZen = true;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "zen-kernel";
|
owner = "zen-kernel";
|
||||||
repo = "zen-kernel";
|
repo = "zen-kernel";
|
||||||
rev = "v${version}-${suffix}";
|
rev = "v${modDirVersion}";
|
||||||
sha256 = "sha256-RuY6ZIIKU56R+IGMtQDV6mIubGDqonRpsIdlrpAHFXM=";
|
sha256 = "sha256-0QNRWKB7tAWZR3wuKJf+es6WqjScSKnDrMwH74o2oOA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
structuredExtraConfig = with lib.kernel; {
|
structuredExtraConfig = with lib.kernel; {
|
||||||
@ -22,7 +27,7 @@ buildLinux (args // {
|
|||||||
};
|
};
|
||||||
|
|
||||||
extraMeta = {
|
extraMeta = {
|
||||||
branch = "5.13";
|
inherit branch;
|
||||||
maintainers = with lib.maintainers; [ atemu andresilva ];
|
maintainers = with lib.maintainers; [ atemu andresilva ];
|
||||||
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
|
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user