From d726818c37f747124097311e72cf794f5a802dfe Mon Sep 17 00:00:00 2001 From: fortuneteller2k Date: Thu, 21 Jul 2022 20:01:09 +0000 Subject: [PATCH] xanmod-kernels: set suffix to a default value --- pkgs/os-specific/linux/kernel/xanmod-kernels.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix index 6786c02d6158..13a1cb4c4206 100644 --- a/pkgs/os-specific/linux/kernel/xanmod-kernels.nix +++ b/pkgs/os-specific/linux/kernel/xanmod-kernels.nix @@ -3,17 +3,15 @@ let ltsVariant = { version = "5.15.54"; - suffix = "xanmod1"; hash = "sha256-0Odo+ZrQok3MMPl/512F8kIQ31mGZH6e9FyVVpXrYf0="; }; edgeVariant = { version = "5.18.11"; - suffix = "xanmod1"; hash = "sha256-UPLwaEWhBu1yriCUJu9L/B8yy+1zxnTQzHaKlT507UY="; }; - xanmodKernelFor = { version, suffix, hash }: buildLinux (args // rec { + xanmodKernelFor = { version, suffix ? "xanmod1", hash }: buildLinux (args // rec { inherit version; modDirVersion = "${version}-${suffix}";