···37 substituteInPlace $out/lib/systemd/system/wg-quick@.service \
38 --replace /usr/bin $out/bin
39 '' + lib.optionalString stdenv.isLinux ''
40- # we want to allow users to provide their own resolvconf implementation, i.e. the one provided by systemd-resolved
41 for f in $out/bin/*; do
42- wrapProgram $f \
43- --prefix PATH : ${lib.makeBinPath [ procps iproute2 iptables ]} \
44- --suffix PATH : ${lib.makeBinPath [ openresolv ]}
45 done
46 '' + lib.optionalString stdenv.isDarwin ''
47 for f in $out/bin/*; do
···37 substituteInPlace $out/lib/systemd/system/wg-quick@.service \
38 --replace /usr/bin $out/bin
39 '' + lib.optionalString stdenv.isLinux ''
040 for f in $out/bin/*; do
41+ wrapProgram $f --prefix PATH : ${lib.makeBinPath [ procps iproute2 iptables openresolv ]}
0042 done
43 '' + lib.optionalString stdenv.isDarwin ''
44 for f in $out/bin/*; do