git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107148 from Atemu/linux_lqx-init

linux_lqx: init at 5.9.15

commit90d95d451393d46712ebac906c13d1cdbd43de5a authorTimo Kaufmann <timokau@zoho.com> dateMon 28 Dec 2020, 18:35 (6 years ago) parent4b210ca0fdf692
3 files changed+35
pkgs/os-specific/linux/kernel/linux-lqx.nix+25 pkgs/os-specific/linux/kernel/linux-zen.nix+1 pkgs/top-level/all-packages.nix+9
pkgs/os-specific/linux/kernel/linux-lqx.nixnew file+25
@@ -0,0 +1,25 @@
1+{ stdenv, fetchFromGitHub, buildLinux, linux_zen, ... } @ args:
2+
3+let
4+ version = "5.9.16";
5+in
6+
7+buildLinux (args // {
8+ modDirVersion = "${version}-lqx1";
9+ inherit version;
10+ isZen = true;
11+
12+ src = fetchFromGitHub {
13+ owner = "zen-kernel";
14+ repo = "zen-kernel";
15+ rev = "v${version}-lqx1";
16+ sha256 = "0ljvqf91nxpql98z75bicg5y3nzkm41rq5b0rm1kcnsk0ji829ps";
17+ };
18+
19+ extraMeta = {
20+ branch = "5.9/master";
21+ maintainers = with stdenv.lib.maintainers; [ atemu ];
22+ description = linux_zen.meta.description + " (Same as linux_zen but less aggressive release schedule)";
23+ };
24+
25+} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-zen.nix+1
@@ -19,6 +19,7 @@ buildLinux (args // {
1919 extraMeta = {
2020 branch = "5.10/master";
2121 maintainers = with stdenv.lib.maintainers; [ atemu andresilva ];
22+ description = "Built using the best configuration and kernel sources for desktop, multimedia, and gaming workloads.";
2223 };
2324
2425} // (args.argsOverride or {}))
pkgs/top-level/all-packages.nix+9
@@ -18522,6 +18522,14 @@ in
1852218522 ];
1852318523 };
1852418524
18525+ linux_lqx = callPackage ../os-specific/linux/kernel/linux-lqx.nix {
18526+ kernelPatches = [
18527+ kernelPatches.bridge_stp_helper
18528+ kernelPatches.request_key_helper
18529+ kernelPatches.export_kernel_fpu_functions."5.3"
18530+ ];
18531+ };
18532+
1852518533 /* Linux kernel modules are inherently tied to a specific kernel. So
1852618534 rather than provide specific instances of those packages for a
1852718535 specific kernel, we have a function that builds those packages
@@ -18836,6 +18844,7 @@ in
1883618844
1883718845 # zen-kernel
1883818846 linuxPackages_zen = recurseIntoAttrs (linuxPackagesFor pkgs.linux_zen);
18847+ linuxPackages_lqx = recurseIntoAttrs (linuxPackagesFor pkgs.linux_lqx);
1883918848
1884018849 # A function to build a manually-configured kernel
1884118850 linuxManualConfig = makeOverridable (callPackage ../os-specific/linux/kernel/manual-config.nix {});