Revert "iproute: remove broken fan patch"
This reverts commit 0d5a5307be because it
breaks evaluation. See #21561.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
{ fetchurl, stdenv, lib, flex, bison, db, iptables, pkgconfig }:
|
||||
{ fetchurl, stdenv, lib, flex, bison, db, iptables, pkgconfig
|
||||
, enableFan ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "iproute2-${version}";
|
||||
@@ -9,6 +11,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1i0n071hiqxw1gisngw2jln3kcp9sh47n6fj5hdwqrvp7w20zwy0";
|
||||
};
|
||||
|
||||
patches = lib.optionals enableFan [
|
||||
# These patches were pulled from:
|
||||
# https://launchpad.net/ubuntu/xenial/+source/iproute2
|
||||
./1000-ubuntu-poc-fan-driver.patch
|
||||
./1001-ubuntu-poc-fan-driver-v3.patch
|
||||
./1002-ubuntu-poc-fan-driver-vxlan.patch
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
patchShebangs ./configure
|
||||
sed -e '/ARPDDIR/d' -i Makefile
|
||||
|
||||
Reference in New Issue
Block a user