Compare commits

..

1 Commits

Author SHA1 Message Date
Kevin Yue
6e59585a6b Release 2.3.7 2024-08-17 22:44:15 -03:00

View File

@ -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
@ -43,7 +44,7 @@
overrideMain = {...}: { overrideMain = {...}: {
postPatch = '' postPatch = ''
substituteInPlace crates/common/src/vpn_utils.rs \ substituteInPlace crates/common/src/vpn_utils.rs \
--replace-fail /etc/vpnc/vpnc-script ${pkgs.vpnc-scripts}/bin/vpnc-script --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 \