Add iptables to wireguard-tools

This commit is contained in:
Sorin Iclanzan 2019-11-27 18:19:38 -05:00
parent 63688d9ce3
commit f555515412

View File

@ -1,6 +1,7 @@
{ {
stdenv, fetchzip, stdenv, fetchzip,
iptables ? null,
iproute ? null, iproute ? null,
libmnl ? null, libmnl ? null,
makeWrapper ? null, makeWrapper ? null,
@ -38,7 +39,7 @@ stdenv.mkDerivation rec {
--replace /usr/bin $out/bin --replace /usr/bin $out/bin
'' + optionalString stdenv.isLinux '' '' + optionalString stdenv.isLinux ''
for f in $out/bin/*; do for f in $out/bin/*; do
wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute openresolv]} wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute iptables openresolv]}
done done
'' + optionalString stdenv.isDarwin '' '' + optionalString stdenv.isDarwin ''
for f in $out/bin/*; do for f in $out/bin/*; do