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