forked from mirrors/nixpkgs
wireguard-tools: fix dependencies (#74390)
wireguard-tools: fix dependencies
This commit is contained in:
commit
b82d4edef4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue