3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific/linux/kernel/linux-4.2.nix
William A. Kennington III 05fd70b4be kernel: 4.2.1 -> 4.2.2
2015-09-29 15:57:30 -07:00

26 lines
831 B
Nix

{ stdenv, fetchurl, perl, buildLinux, ... } @ args:
import ./generic.nix (args // rec {
version = "4.2.2";
extraMeta.branch = "4.2";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
sha256 = "0k5nda60jla02n7ghhma7klkfklh008d1cpf684fp82cywbp5g1f";
};
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
# cherry-pick from upstream to resolve a licensing problem that prevents
# compiling the broadcom-sta wireless driver on kernels >= 4.2
# see: https://github.com/longsleep/bcmwl-ubuntu/issues/6
kernelPatches = [ {
name = "flush-workqueue-export";
patch = ./flush_workqueue-export.patch;
} ];
} // (args.argsOverride or {}))