iproute2: fix static build
This is needed for nixos-anywhere
This commit is contained in:
parent
52053cb756
commit
1d4388214d
@ -46,7 +46,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ]; # netem requires $HOSTCC
|
||||
nativeBuildInputs = [ bison flex pkg-config ];
|
||||
buildInputs = [ db iptables elfutils libmnl ];
|
||||
buildInputs = [ db iptables libmnl ]
|
||||
# needed to uploaded bpf programs
|
||||
++ lib.optionals (!stdenv.hostPlatform.isStatic) [ elfutils ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user