iproute: Fix regressions introduced in 3.16.0

3.16.0 introduced a regression where vlan and veth devices could not be
created due to a check in the code for existing devices. This applies
the upstream patch which fixes the issue.

Additionally, this corrects the nixos network-interfaces task which now
needs to specify the name parameter when adding links.
This commit is contained in:
William A. Kennington III
2014-09-26 00:45:38 -07:00
parent 691c8393ea
commit d084245e74
3 changed files with 39 additions and 4 deletions
+4 -1
View File
@@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "0ybv29m88lccpfrh2dgiqash4c3gfvwwpx9kakvnc8c71rn8l2hz";
};
patch = [ "vpnc.patch" ];
patch = [
./vpnc.patch
./device-checking.patch # Remove after 3.16.0
];
preConfigure =
''