wireguard-tools: fix dependencies (#74390)
wireguard-tools: fix dependencies
This commit is contained in:
commit
b82d4edef4
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user