Skip to content

feat: add --remote-bin-path option (#298) #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wvffle
Copy link

@wvffle wvffle commented Jul 11, 2025

Fixes #298

The --remote-bin-path option adds a way to specify nix-* binaries path on non NixOS systems without a need of modyfing target's sshd config.

  • During deployment stage, it appends ?remote_program=<remote-bin-path>/nix-store to the hostname in places here it is needed
  • Dduring activation stage it adds PATH env variable to all Command::new() calls

Sorry for unrelated changes due to rustfmt :/

@wvffle wvffle force-pushed the feat/remote-program branch from 943f38b to 52f89b0 Compare July 11, 2025 13:12
@wvffle wvffle force-pushed the feat/remote-program branch from 52f89b0 to 0bbc325 Compare July 11, 2025 21:58
@wvffle wvffle changed the title feat: add remoteProgram option (#298) feat: add --remote-bin-path option (#298) Jul 11, 2025
@wvffle wvffle marked this pull request as ready for review July 11, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Question] Is there a way to support ?remote-program= in ssh url ?
1 participant