3
0
Fork 0
forked from mirrors/nixpkgs

wireguard-tools: fix dependencies (#74390)

wireguard-tools: fix dependencies
This commit is contained in:
Jörg Thalheim 2019-11-28 09:31:28 +00:00 committed by GitHub
commit b82d4edef4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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