mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
b8ede68b25
Signed-off-by: Austin Seipp <aseipp@pobox.com>
28 lines
1.1 KiB
Nix
28 lines
1.1 KiB
Nix
{ stdenv, fetchurl, ... } @ args:
|
|
|
|
import ./generic.nix (args // rec {
|
|
version = "3.2.60";
|
|
extraMeta.branch = "3.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
|
sha256 = "10nigsr0i08ykmkbalsjm4v283iy42zxgxxl77h6484xxb52bw7s";
|
|
};
|
|
|
|
# We don't provide these patches if grsecurity is enabled, because
|
|
# the grsec 3.2 -stable patchset already includes them.
|
|
kernelPatches = args.kernelPatches ++ (
|
|
stdenv.lib.optionals (!(args.features.grsecurity or false))
|
|
[ { name = "0001-AppArmor-compatibility-patch-for-v5-network-controll";
|
|
patch = ./apparmor-patches/3.2/0001-AppArmor-compatibility-patch-for-v5-network-controll.patch;
|
|
}
|
|
{ name = "0002-AppArmor-compatibility-patch-for-v5-interface";
|
|
patch = ./apparmor-patches/3.2/0002-AppArmor-compatibility-patch-for-v5-interface.patch;
|
|
}
|
|
{ name = "0003-AppArmor-Allow-dfa-backward-compatibility-with-broke";
|
|
patch = ./apparmor-patches/3.2/0003-AppArmor-Allow-dfa-backward-compatibility-with-broke.patch;
|
|
}]);
|
|
|
|
features.iwlwifi = true;
|
|
} // (args.argsOverride or {}))
|