Skip to content

Commit

Permalink
Fix flake.nix vpnc-script hardcoded path (#413)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericdallo authored Aug 18, 2024
1 parent 30bec40 commit 511cc5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@

overrideMain = {...}: {
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 \
--replace-fail /usr/bin/gpclient $out/bin/gpclient \
--replace-fail /usr/bin/gpservice $out/bin/gpservice \
Expand Down

0 comments on commit 511cc5e

Please sign in to comment.