nixpkgs/pkgs/os-specific/linux/kernel/linux-3.18.nix

25 lines
689 B
Nix

{ stdenv, fetchurl, ... } @ args:
import ./generic.nix (args // rec {
version = "3.18.11";
extraMeta.branch = "3.18";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
sha256 = "19di7k38adnwimxddd1v6flgdsvxhgf8iswjwfyqi2p2bdcb0p5d";
};
# FIXME: remove with the next point release.
kernelPatches = args.kernelPatches ++
[ { name = "btrfs-fix-deadlock";
patch = ./btrfs-fix-deadlock.patch;
}
];
features.iwlwifi = true;
features.efiBootStub = true;
features.needsCifsUtils = true;
features.canDisableNetfilterConntrackHelpers = true;
features.netfilterRPFilter = true;
} // (args.argsOverride or {}))