mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 10:27:58 +00:00
Merge pull request #139530 from Mic92/wireguard-tools
This commit is contained in:
commit
0778565a0d
@ -37,8 +37,11 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $out/lib/systemd/system/wg-quick@.service \
|
||||
--replace /usr/bin $out/bin
|
||||
'' + lib.optionalString stdenv.isLinux ''
|
||||
# we want to allow users to provide their own resolvconf implementation, i.e. the one provided by systemd-resolved
|
||||
for f in $out/bin/*; do
|
||||
wrapProgram $f --prefix PATH : ${lib.makeBinPath [ procps iproute2 iptables openresolv ]}
|
||||
wrapProgram $f \
|
||||
--prefix PATH : ${lib.makeBinPath [ procps iproute2 iptables ]} \
|
||||
--suffix PATH : ${lib.makeBinPath [ openresolv ]}
|
||||
done
|
||||
'' + lib.optionalString stdenv.isDarwin ''
|
||||
for f in $out/bin/*; do
|
||||
|
Loading…
Reference in New Issue
Block a user