herdr-0.8.0
default.checks.aarch64-darwin.home-manager-macos
· build #397
· raw
1Using versionCheckHook
patchPhase
2applying patch /nix/store/pc2vl475f6mli95d8zr09y0zvvihhl66-0001-remote-make-ssh-transport-program-configurable.patch3can't find file to patch at input line 344Perhaps you used the wrong -p or --strip option?5The text leading up to this was:6--------------------------7|From 7f65636f020511fe6f1781f58bb8feab11e7e63f Mon Sep 17 00:00:00 20018|From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>9|Date: Sun, 26 Jul 2026 10:43:42 +020010|Subject: [PATCH] remote: make ssh transport program configurable11|MIME-Version: 1.012|Content-Type: text/plain; charset=UTF-813|Content-Transfer-Encoding: 8bit14|15|herdr --remote hardcodes the OpenSSH client binary. Most ssh-invoking16|tools grew an escape hatch for this (GIT_SSH_COMMAND, rsync -e,17|BORG_RSH, ansible ssh_executable) because users need it for reasons18|plain ssh_config cannot cover: corporate bastion wrappers that inject19|short-lived certificates (Teleport tsh, gcloud compute ssh, aws ssm),20|picking a specific ssh build, debugging wrappers, stub transports in21|tests, or roaming transports such as mosh/Eternal Terminal22|(discussion #1780) - all without shadowing ssh in PATH for every23|process on the machine.24|25|Add remote.ssh_command (default "ssh") and use it for both the26|bootstrap commands and the stdio bridge. The replacement only needs to27|accept OpenSSH-compatible arguments (-T <target> <command>).28|29|Signed-off-by: Jörg Thalheim <joerg@thalheim.io>30|---31| src/config/model.rs | 4 ++++32| src/main.rs | 3 +++33| src/remote/unix.rs | 41 +++++++++++++++++++++++++++++++++--------34| 3 files changed, 40 insertions(+), 8 deletions(-)35|36|diff --git a/src/config/model.rs b/src/config/model.rs37|index e56ac08..1d471f3 10064438|--- a/src/config/model.rs39|+++ b/src/config/model.rs40--------------------------41File to patch: 42Skip this patch? [y] 43Skipping patch.441 out of 1 hunk ignored45can't find file to patch at input line 5546Perhaps you used the wrong -p or --strip option?47The text leading up to this was:48--------------------------49|diff --git a/src/main.rs b/src/main.rs50|index 27c1d92..0227cd2 10064451|--- a/src/main.rs52|+++ b/src/main.rs53--------------------------54File to patch: 55Skip this patch? [y] 56Skipping patch.571 out of 1 hunk ignored58can't find file to patch at input line 6959Perhaps you used the wrong -p or --strip option?60The text leading up to this was:61--------------------------62|diff --git a/src/remote/unix.rs b/src/remote/unix.rs63|index 6fe927c..55a0764 10064464|--- a/src/remote/unix.rs65|+++ b/src/remote/unix.rs66--------------------------67File to patch: 68Skip this patch? [y] 69Skipping patch.7012 out of 12 hunks ignored