diff options
author | Charles Strahan <charles.c.strahan@gmail.com> | 2015-08-09 19:13:40 -0400 |
---|---|---|
committer | Charles Strahan <charles.c.strahan@gmail.com> | 2015-08-13 14:27:14 -0400 |
commit | c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9 (patch) | |
tree | 1788d9e9cb6b79510ffbe19859743e692c3ce822 /pkgs/os-specific/linux/iproute/default.nix | |
parent | 18597ff6588402c0c3b11e71e6ab81a4fee81595 (diff) | |
download | nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar.gz nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar.bz2 nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar.lz nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar.xz nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.tar.zst nixpkgs-c1ee8fefd40bdd6acb3d0eb3ed27f47674fc33f9.zip |
nixos: add support for Ubuntu Fan Networking
This provides support for Ubuntu Fan Networking [1]. This includes: * The fanctl package, and a corresponding NixOS service. * iproute patches. * kernel patches. closes #9188 1: https://wiki.ubuntu.com/FanNetworking
Diffstat (limited to 'pkgs/os-specific/linux/iproute/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/iproute/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/iproute/default.nix b/pkgs/os-specific/linux/iproute/default.nix index 6fea4ba05e0..6f5ec27c638 100644 --- a/pkgs/os-specific/linux/iproute/default.nix +++ b/pkgs/os-specific/linux/iproute/default.nix @@ -1,4 +1,6 @@ -{ fetchurl, stdenv, flex, bison, db, iptables, pkgconfig }: +{ fetchurl, stdenv, lib, flex, bison, db, iptables, pkgconfig +, enableFan ? false +}: stdenv.mkDerivation rec { name = "iproute2-4.1.1"; @@ -8,6 +10,8 @@ stdenv.mkDerivation rec { sha256 = "0vz6m2k6hdrjlg4x0r3cd75lg9ysmndbsp35pm8494zvksc7l1vk"; }; + patches = lib.optionals enableFan [ ./ubuntu-fan.patch ]; + preConfigure = '' patchShebangs ./configure sed -e '/ARPDDIR/d' -i Makefile |