diff options
author | aszlig <aszlig@redmoonstudios.org> | 2016-10-27 01:44:02 +0200 |
---|---|---|
committer | aszlig <aszlig@redmoonstudios.org> | 2016-10-27 01:44:02 +0200 |
commit | 6603d444310cd2c717bf078966a67fee0f175ce3 (patch) | |
tree | 520810c16c84612745e87a8b784902d0fec28c40 /pkgs/kernel | |
parent | 9bc417b108cc489df415cc5f97b7cd8932abd217 (diff) |
hardware/t100ha: Bring back Linux 4.7.10
Removed in NixOS/nixpkgs@b3f7d626c164ae591a067f78bfcbb06fc3a588b9. We are currently stuck in 4.7 with the T100HA because of this upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=97529 So let's bring back the expression for Linux 4.7 until there is time for debugging the mentioned bug. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'pkgs/kernel')
-rw-r--r-- | pkgs/kernel/linux-4.7.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/kernel/linux-4.7.nix b/pkgs/kernel/linux-4.7.nix new file mode 100644 index 00000000..6f6de003 --- /dev/null +++ b/pkgs/kernel/linux-4.7.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchurl, perl, buildLinux, pkgs, ... } @ args: + +let + nixpkgs = import ../../nixpkgs-path.nix; + generic = "${nixpkgs}/pkgs/os-specific/linux/kernel/generic.nix"; +in import generic (args // rec { + version = "4.7.10"; + extraMeta.branch = "4.7"; + + src = fetchurl { + url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; + sha256 = "1p2r5d0jcrak9gxp0339g9z198x9laf09h08ck4jllhhaajrnicj"; + }; + + kernelPatches = (args.kernelPatches or []) ++ [ + pkgs.kernelPatches.bridge_stp_helper + pkgs.kernelPatches.cpu-cgroup-v2."4.7" + ]; + + features.iwlwifi = true; + features.efiBootStub = true; + features.needsCifsUtils = true; + features.canDisableNetfilterConntrackHelpers = true; + features.netfilterRPFilter = true; +} // (args.argsOverride or {})) |