Merge pull request #112715 from fortuneteller2k/add-xanmod-kernel

linux_xanmod: init at 5.11.10
This commit is contained in:
Doron Behar 2021-04-06 15:09:26 +00:00 committed by GitHub
commit 873991697f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, stdenv, buildLinux, fetchFromGitHub, ... } @ args:
let
version = "5.11.10";
suffix = "xanmod1-cacule";
in
buildLinux (args // rec {
modDirVersion = "${version}-${suffix}";
inherit version;
src = fetchFromGitHub {
owner = "xanmod";
repo = "linux";
rev = modDirVersion;
sha256 = "sha256-Pn1rX61mA8FEt5G1GppK/YyzXnB+hdm5pWh/4swQ4VE=";
extraPostFetch = ''
rm $out/.config
'';
};
extraMeta = {
branch = "5.11";
maintainers = with lib.maintainers; [ fortuneteller2k ];
description = "Built with custom settings and new features built to provide a stable, responsive and smooth desktop experience";
broken = stdenv.hostPlatform.isAarch64;
};
} // (args.argsOverride or { }))

View file

@ -19786,6 +19786,13 @@ in
];
};
linux_xanmod = callPackage ../os-specific/linux/kernel/linux-xanmod.nix {
kernelPatches = [
kernelPatches.bridge_stp_helper
kernelPatches.request_key_helper
];
};
/* Linux kernel modules are inherently tied to a specific kernel. So
rather than provide specific instances of those packages for a
specific kernel, we have a function that builds those packages
@ -20106,6 +20113,9 @@ in
linuxPackages_zen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_zen);
linuxPackages_lqx = recurseIntoAttrs (linuxPackagesFor pkgs.linux_lqx);
# XanMod kernel
linuxPackages_xanmod = recurseIntoAttrs (linuxPackagesFor pkgs.linux_xanmod);
# A function to build a manually-configured kernel
linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});