Merge pull request #68956 from marius851000/protonvpn
protonvpn-cli: fix missing runtime dependancies
This commit is contained in:
commit
40ba2e91b8
@ -28,12 +28,9 @@ in stdenv.mkDerivation rec {
|
|||||||
" echo \"Connecting...\"" \
|
" echo \"Connecting...\"" \
|
||||||
" sed -ri 's@${expectedUpdateResolvPath}@${actualUpdateResolvePath}@g' \"\$openvpn_config\"; echo \"Connecting...\""
|
" sed -ri 's@${expectedUpdateResolvPath}@${actualUpdateResolvePath}@g' \"\$openvpn_config\"; echo \"Connecting...\""
|
||||||
cp protonvpn-cli.sh "$out/bin/protonvpn-cli"
|
cp protonvpn-cli.sh "$out/bin/protonvpn-cli"
|
||||||
ln -s "$out/bin/protonvpn-cli" "$out/bin/pvpn"
|
wrapProgram $out/bin/protonvpn-cli \
|
||||||
'';
|
|
||||||
|
|
||||||
postInstallPhase = ''
|
|
||||||
wrapProgram $out/protonvpn-cli \
|
|
||||||
--prefix PATH : ${lib.makeBinPath [ coreutils openvpn python dialog wget update-resolv-conf ]}
|
--prefix PATH : ${lib.makeBinPath [ coreutils openvpn python dialog wget update-resolv-conf ]}
|
||||||
|
ln -s "$out/bin/protonvpn-cli" "$out/bin/pvpn"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user