mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2025-04-02 18:31:50 -04:00
Fix flake.nix vpnc-script hardcoded path (#413)
This commit is contained in:
parent
30bec40338
commit
511cc5ebd7
@ -42,6 +42,8 @@
|
|||||||
|
|
||||||
overrideMain = {...}: {
|
overrideMain = {...}: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace crates/common/src/vpn_utils.rs \
|
||||||
|
--replace-fail /etc/vpnc/vpnc-script ${pkgs.vpnc-scripts}/bin/vpnc-script
|
||||||
substituteInPlace crates/gpapi/src/lib.rs \
|
substituteInPlace crates/gpapi/src/lib.rs \
|
||||||
--replace-fail /usr/bin/gpclient $out/bin/gpclient \
|
--replace-fail /usr/bin/gpclient $out/bin/gpclient \
|
||||||
--replace-fail /usr/bin/gpservice $out/bin/gpservice \
|
--replace-fail /usr/bin/gpservice $out/bin/gpservice \
|
||||||
|
Loading…
Reference in New Issue
Block a user