summary refs log tree commit diff
path: root/pkgs/applications/backup/pika-backup/borg-path.patch
blob: faa4b76cec7bea5eee683cd30141bb72eec34fa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/src/borg/process.rs b/src/borg/process.rs
index 63ea0ee..e3535e0 100644
--- a/src/borg/process.rs
+++ b/src/borg/process.rs
@@ -203,7 +203,7 @@ impl BorgCall {
     }
 
     pub fn cmd(&self) -> Result<process::Command> {
-        let mut cmd = process::Command::new("borg");
+        let mut cmd = process::Command::new("@borg@");
 
         cmd.envs([self.set_password()?]);
 
@@ -221,7 +221,7 @@ impl BorgCall {
     }
 
     pub fn cmd_async(&self) -> Result<async_process::Command> {
-        let mut cmd = async_process::Command::new("borg");
+        let mut cmd = async_process::Command::new("@borg@");
 
         cmd.envs([self.set_password()?]);