nixpkgs-immich/pkgs/applications/backup/pika-backup/borg-path.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
452 B
Diff
Raw Normal View History

2024-09-17 10:23:40 -06:00
diff --git a/src/borg/process.rs b/src/borg/process.rs
index 9af8da7..85bcbf8 100644
--- a/src/borg/process.rs
+++ b/src/borg/process.rs
@@ -278,7 +278,7 @@ impl BorgCall {
}
pub(super) fn command(&self) -> Result<(async_process::Command, UnixStream)> {
- let mut cmd = async_process::Command::new("borg");
+ let mut cmd = async_process::Command::new("@borg@");
let unix_stream = self.stream_password(&mut cmd)?;