3
0
Fork 0
forked from mirrors/nixpkgs

wireguard: remove dependency on wireguard-go

Prior to this commit, wireguard dependend on wireguard-go.  This
commit removes that unnecessary dependency.
This commit is contained in:
Adam Joseph 2022-02-21 11:37:19 -08:00
parent 65c8149cb1
commit 624eaca9b9

View file

@ -7,7 +7,6 @@
, makeWrapper
, openresolv
, procps
, wireguard-go
}:
stdenv.mkDerivation rec {
@ -40,10 +39,6 @@ stdenv.mkDerivation rec {
for f in $out/bin/*; do
wrapProgram $f --prefix PATH : ${lib.makeBinPath [ procps iproute2 iptables openresolv ]}
done
'' + lib.optionalString stdenv.isDarwin ''
for f in $out/bin/*; do
wrapProgram $f --prefix PATH : ${wireguard-go}/bin
done
'';
passthru = {