File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
pkgs/by-name/pr/pritunl-client Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1717 iproute2 ,
1818 openvpn ,
1919 electron ,
20+ wireguard-tools ,
21+ withWireguard ? stdenv . hostPlatform . isLinux ,
2022} :
2123let
2224 version = "1.3.4275.94" ;
9799 --prefix PATH : ${ lib . makeBinPath hookScriptsDeps } \
98100 --add-flags "--setenv PATH \$PATH"
99101 '' ;
102+ pritunlDeps =
103+ [
104+ openvpn-wrapped
105+ ]
106+ ++ lib . optionals withWireguard [
107+ openresolv
108+ coreutils
109+ wireguard-tools
110+ ] ;
100111 in
101112 lib . optionalString stdenv . hostPlatform . isLinux ''
102113 wrapProgram $out/bin/pritunl-client-service \
103- --prefix PATH : "${ lib . makeBinPath ( [ openvpn-wrapped ] ) } "
114+ --prefix PATH : "${ lib . makeBinPath pritunlDeps } "
104115 '' ;
105116 passthru . updateScript = nix-update-script { } ;
106117 } ;
You can’t perform that action at this time.
0 commit comments