From 4a423f366d43d355e588f4caaf3aa377350c5b87 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Sun, 25 Feb 2024 11:30:25 +0100 Subject: [PATCH] feat(kernel): add jhovold_6_7 variant --- module.nix | 3 +++ npins/sources.json | 12 ++++++++++++ packages/default.nix | 6 ++++++ 3 files changed, 21 insertions(+) diff --git a/module.nix b/module.nix index a8bb263..788e3c0 100644 --- a/module.nix +++ b/module.nix @@ -17,6 +17,8 @@ let pkgs.linuxPackagesFor ( if cfg.kernel == "jhovold" then x13sPackages.linux_jhovold + else if cfg.kernel == "jhovold_6_7" then + x13sPackages.linux_jhovold_6_7 else if cfg.kernel == "steev" then x13sPackages.linux_steev else @@ -38,6 +40,7 @@ in kernel = lib.mkOption { type = lib.types.enum [ "jhovold" + "jhovold_6_7" "mainline" "steev" ]; diff --git a/npins/sources.json b/npins/sources.json index 06355e7..8e3a2e4 100644 --- a/npins/sources.json +++ b/npins/sources.json @@ -14,6 +14,18 @@ "url": "https://api.github.com/repos/alsa-project/alsa-ucm-conf/tarball/v1.2.11", "hash": "1jcn0x6bbg69p1ygxnh1zn33sd9lpbll4bnhvkzw1fjpmw7igjkz" }, + "linux-jhovold-6_7": { + "type": "Git", + "repository": { + "type": "GitHub", + "owner": "jhovold", + "repo": "linux" + }, + "branch": "wip/sc8280xp-v6.7", + "revision": "b929f8eed9ad1f156cae932dea741bc4383e6367", + "url": "https://github.com/jhovold/linux/archive/b929f8eed9ad1f156cae932dea741bc4383e6367.tar.gz", + "hash": "12j92hns95rviajyxpj57hgdr1k9lrd6rzxng87m4v4m7pi8v51l" + }, "linux-jhovold": { "type": "Git", "repository": { diff --git a/packages/default.nix b/packages/default.nix index 85a13b1..d066807 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -21,6 +21,12 @@ rec { defconfig = "johan_defconfig"; }; + linux_jhovold_6_7 = pkgs.callPackage linux_x13s_pkg { + src = sources.linux-jhovold-6_7; + version = "6.7.0"; + defconfig = "johan_defconfig"; + }; + linux_steev = pkgs.callPackage linux_x13s_pkg { src = sources.linux-steev; version = "6.7.5";