alternative for iproute module (#41801)

This commit is contained in:
volth
2018-09-01 20:28:23 +02:00
committed by xeji
parent 2d6179d1e8
commit 0fa04d646d
3 changed files with 25 additions and 19 deletions
+2 -5
View File
@@ -1,6 +1,4 @@
{ fetchurl, stdenv, config, flex, bash, bison, db, iptables, pkgconfig
, libelf
}:
{ fetchurl, stdenv, flex, bash, bison, db, iptables, pkgconfig, libelf }:
stdenv.mkDerivation rec {
name = "iproute2-${version}";
@@ -28,9 +26,8 @@ stdenv.mkDerivation rec {
"HDRDIR=$(TMPDIR)/include/iproute2" # Don't install headers
];
# enable iproute2 module if you want this folder to be created
buildFlags = [
"CONFDIR=${config.iproute2.confDir or "/run/iproute2"}"
"CONFDIR=/etc/iproute2"
];
installFlags = [