Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 17.03 18 lines 556 B view raw
1{ stdenv, fetchurl, perl, buildLinux, ... } @ args: 2 3import ./generic.nix (args // rec { 4 version = "4.9.18"; 5 extraMeta.branch = "4.9"; 6 7 src = fetchurl { 8 url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; 9 sha512 = "0l60ny68qwjf585x84yxipndv2g00g08rm4k6hd7k8s93kf3h7lvspsbdg1g1nw50g8dc3n0w31pqads7b2ha6zf39jh77cx7449rn3"; 10 }; 11 12 kernelPatches = args.kernelPatches; 13 14 features.iwlwifi = true; 15 features.efiBootStub = true; 16 features.needsCifsUtils = true; 17 features.netfilterRPFilter = true; 18} // (args.argsOverride or {}))