diff options
author | Jörg Thalheim <joerg@thalheim.io> | 2021-08-13 09:48:40 +0200 |
---|---|---|
committer | Jörg Thalheim <joerg@thalheim.io> | 2021-08-18 22:24:15 +0200 |
commit | 27edf4ccb48ca48375064d5fc964b8ad9b7c0578 (patch) | |
tree | 5024e07b68c97024a1a73c324a300e222d702ac6 /pkgs/os-specific/linux/kernel | |
parent | 7c38b03f742a657bf38e9579adeb608fc7cc5f1a (diff) | |
download | nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar.gz nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar.bz2 nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar.lz nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar.xz nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.tar.zst nixpkgs-27edf4ccb48ca48375064d5fc964b8ad9b7c0578.zip |
linuxPackages_zen: 5.13.9 -> 5.13.10-zen1
Diffstat (limited to 'pkgs/os-specific/linux/kernel')
-rw-r--r-- | pkgs/os-specific/linux/kernel/linux-zen.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/kernel/linux-zen.nix b/pkgs/os-specific/linux/kernel/linux-zen.nix index 712f3f08895..70a9ecc6028 100644 --- a/pkgs/os-specific/linux/kernel/linux-zen.nix +++ b/pkgs/os-specific/linux/kernel/linux-zen.nix @@ -1,20 +1,25 @@ { lib, fetchFromGitHub, buildLinux, ... } @ args: let - version = "5.13.9"; - suffix = "zen1"; + # having the full version string here makes it easier to update + 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 buildLinux (args // { - modDirVersion = "${version}-${suffix}"; - inherit version; + inherit version modDirVersion; isZen = true; src = fetchFromGitHub { owner = "zen-kernel"; repo = "zen-kernel"; - rev = "v${version}-${suffix}"; - sha256 = "sha256-RuY6ZIIKU56R+IGMtQDV6mIubGDqonRpsIdlrpAHFXM="; + rev = "v${modDirVersion}"; + sha256 = "sha256-0QNRWKB7tAWZR3wuKJf+es6WqjScSKnDrMwH74o2oOA="; }; structuredExtraConfig = with lib.kernel; { @@ -22,7 +27,7 @@ buildLinux (args // { }; extraMeta = { - branch = "5.13"; + inherit branch; maintainers = with lib.maintainers; [ atemu andresilva ]; description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads."; }; |