mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-24 07:46:32 -05:00
Compare commits
1
Commits
v2.3.7
..
6e59585a6b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e59585a6b |
@@ -32,6 +32,7 @@
|
|||||||
default = naersk'.buildPackage {
|
default = naersk'.buildPackage {
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
vpnc
|
||||||
perl
|
perl
|
||||||
jq
|
jq
|
||||||
openconnect
|
openconnect
|
||||||
@@ -42,6 +43,8 @@
|
|||||||
|
|
||||||
overrideMain = {...}: {
|
overrideMain = {...}: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
substituteInPlace crates/common/src/vpn_utils.rs \
|
||||||
|
--replace-fail /etc/vpnc/vpnc-script ${pkgs.vpnc}/bin/vpnc
|
||||||
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 \
|
||||||
|
|||||||
Reference in new issue
Block a user