tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
kernel: Add version 4.1 latest
William A. Kennington III
10 years ago
bd9433c9
c48433d5
+30
-1
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
kernel
linux-4.1.nix
top-level
all-packages.nix
+18
pkgs/os-specific/linux/kernel/linux-4.1.nix
···
1
1
+
{ stdenv, fetchurl, ... } @ args:
2
2
+
3
3
+
import ./generic.nix (args // rec {
4
4
+
version = "4.1";
5
5
+
modDirVersion = "4.1.0";
6
6
+
extraMeta.branch = "4.1";
7
7
+
8
8
+
src = fetchurl {
9
9
+
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
10
10
+
sha256 = "17rdly75zh49m6r32yy03xappl7ajcqbznq09pm1q7mcb841zxfa";
11
11
+
};
12
12
+
13
13
+
features.iwlwifi = true;
14
14
+
features.efiBootStub = true;
15
15
+
features.needsCifsUtils = true;
16
16
+
features.canDisableNetfilterConntrackHelpers = true;
17
17
+
features.netfilterRPFilter = true;
18
18
+
} // (args.argsOverride or {}))
+12
-1
pkgs/top-level/all-packages.nix
···
9588
9588
];
9589
9589
};
9590
9590
9591
9591
+
linux_4_1 = makeOverridable (import ../os-specific/linux/kernel/linux-4.1.nix) {
9592
9592
+
inherit fetchurl stdenv perl buildLinux;
9593
9593
+
kernelPatches = [ kernelPatches.bridge_stp_helper ]
9594
9594
+
++ lib.optionals ((platform.kernelArch or null) == "mips")
9595
9595
+
[ kernelPatches.mips_fpureg_emu
9596
9596
+
kernelPatches.mips_fpu_sigill
9597
9597
+
kernelPatches.mips_ext3_n32
9598
9598
+
];
9599
9599
+
};
9600
9600
+
9591
9601
linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) {
9592
9602
inherit fetchurl stdenv perl buildLinux;
9593
9603
kernelPatches = [ kernelPatches.bridge_stp_helper ]
···
9754
9764
linux = linuxPackages.kernel;
9755
9765
9756
9766
# Update this when adding the newest kernel major version!
9757
9757
-
linuxPackages_latest = pkgs.linuxPackages_4_0;
9767
9767
+
linuxPackages_latest = pkgs.linuxPackages_4_1;
9758
9768
linux_latest = linuxPackages_latest.kernel;
9759
9769
9760
9770
# Build the kernel modules for the some of the kernels.
···
9768
9778
linuxPackages_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_18 linuxPackages_3_18);
9769
9779
linuxPackages_3_19 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_19 linuxPackages_3_19);
9770
9780
linuxPackages_4_0 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_0 linuxPackages_4_0);
9781
9781
+
linuxPackages_4_1 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_1 linuxPackages_4_1);
9771
9782
linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
9772
9783
linuxPackages_custom = {version, src, configfile}:
9773
9784
let linuxPackages_self = (linuxPackagesFor (pkgs.linuxManualConfig {inherit version src configfile;