tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
linuxPackages_zen: 5.13.9 -> 5.13.10-zen1
Jörg Thalheim
4 years ago
27edf4cc
7c38b03f
+12
-7
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
kernel
linux-zen.nix
+12
-7
pkgs/os-specific/linux/kernel/linux-zen.nix
···
1
1
{ lib, fetchFromGitHub, buildLinux, ... } @ args:
2
2
3
3
let
4
4
-
version = "5.13.9";
5
5
-
suffix = "zen1";
4
4
+
# having the full version string here makes it easier to update
5
5
+
modDirVersion = "5.13.10-zen1";
6
6
+
parts = lib.splitString "-" modDirVersion;
7
7
+
version = lib.elemAt parts 0;
8
8
+
suffix = lib.elemAt parts 1;
9
9
+
10
10
+
numbers = lib.splitString "." version;
11
11
+
branch = "${lib.elemAt numbers 0}.${lib.elemAt numbers 1}";
6
12
in
7
13
8
14
buildLinux (args // {
9
9
-
modDirVersion = "${version}-${suffix}";
10
10
-
inherit version;
15
15
+
inherit version modDirVersion;
11
16
isZen = true;
12
17
13
18
src = fetchFromGitHub {
14
19
owner = "zen-kernel";
15
20
repo = "zen-kernel";
16
16
-
rev = "v${version}-${suffix}";
17
17
-
sha256 = "sha256-RuY6ZIIKU56R+IGMtQDV6mIubGDqonRpsIdlrpAHFXM=";
21
21
+
rev = "v${modDirVersion}";
22
22
+
sha256 = "sha256-0QNRWKB7tAWZR3wuKJf+es6WqjScSKnDrMwH74o2oOA=";
18
23
};
19
24
20
25
structuredExtraConfig = with lib.kernel; {
···
22
27
};
23
28
24
29
extraMeta = {
25
25
-
branch = "5.13";
30
30
+
inherit branch;
26
31
maintainers = with lib.maintainers; [ atemu andresilva ];
27
32
description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
28
33
};