kernel: Add version 4.1 latest

+30 -1
+18
pkgs/os-specific/linux/kernel/linux-4.1.nix
··· 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 9588 ]; 9589 9589 }; 9590 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 + 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 - linuxPackages_latest = pkgs.linuxPackages_4_0; 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 + 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;