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:
parent
65c8149cb1
commit
624eaca9b9
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue