3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #170670 from andrevmatos/kernel/zen

This commit is contained in:
Artturi 2022-04-28 18:52:01 +03:00 committed by GitHub
commit 0cd6f99f95
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
let
# having the full version string here makes it easier to update
modDirVersion = "5.17.2-zen3";
modDirVersion = "5.17.5-zen1";
parts = lib.splitString "-" modDirVersion;
version = lib.elemAt parts 0;
suffix = lib.elemAt parts 1;
@ -20,7 +20,7 @@ buildLinux (args // {
owner = "zen-kernel";
repo = "zen-kernel";
inherit rev;
sha256 = "sha256-q6Cc3wQHDXzyt2hx3+CS8N74myC6ra/Y+8IHQxTkoLo=";
sha256 = "sha256-DWkdnSG+4qMAFdGDmtEItaQZnIiorxLYMqdq5eBqQfs=";
};
structuredExtraConfig = with lib.kernel; {

View file

@ -18,4 +18,4 @@ sed -i -e "s!modDirVersion = \".*\"!modDirVersion = \"${new}\"!" "$path"
checksum=$(nix-prefetch "(import ${nixpkgs} {}).linuxPackages_zen.kernel")
sed -i -e "s!sha256 = \".*\"!sha256 = \"${checksum}\"!" "$path"
git commit -m "linux_zen: ${old} -> ${new}" $path
git commit -m "linuxKernel.kernels.linux_zen: ${old} -> ${new}" $path