diff options
author | Sorin Iclanzan <sorin@iclanzan.com> | 2019-11-27 18:19:38 -0500 |
---|---|---|
committer | Sorin Iclanzan <sorin@iclanzan.com> | 2019-11-27 18:19:38 -0500 |
commit | f555515412c2d98b467dac783dea4cf9036cbe76 (patch) | |
tree | 30088a024fd2e4ee56a9f4e1b0d9fe3d4f0a94f5 /pkgs/tools/networking/wireguard-tools | |
parent | 63688d9ce359440344d22e228a5f423d9d2ffd68 (diff) |
Add iptables to wireguard-tools
Diffstat (limited to 'pkgs/tools/networking/wireguard-tools')
-rw-r--r-- | pkgs/tools/networking/wireguard-tools/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/networking/wireguard-tools/default.nix b/pkgs/tools/networking/wireguard-tools/default.nix index ad449429f9986..7f1814f7c9bf1 100644 --- a/pkgs/tools/networking/wireguard-tools/default.nix +++ b/pkgs/tools/networking/wireguard-tools/default.nix @@ -1,6 +1,7 @@ { stdenv, fetchzip, + iptables ? null, iproute ? null, libmnl ? null, makeWrapper ? null, @@ -38,7 +39,7 @@ stdenv.mkDerivation rec { --replace /usr/bin $out/bin '' + optionalString stdenv.isLinux '' for f in $out/bin/*; do - wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute openresolv]} + wrapProgram $f --prefix PATH : ${makeBinPath [procps iproute iptables openresolv]} done '' + optionalString stdenv.isDarwin '' for f in $out/bin/*; do |