Skip to content

Add ssh for nix commands that need ssh e.g. nix-copy-closure#150

Open
irisjae wants to merge 1 commit intoDavHau:mainfrom
irisjae:main
Open

Add ssh for nix commands that need ssh e.g. nix-copy-closure#150
irisjae wants to merge 1 commit intoDavHau:mainfrom
irisjae:main

Conversation

@irisjae
Copy link

@irisjae irisjae commented Apr 7, 2025

Fixes #149.

If detects command needs ssh and a wrapped runtime is selected, installs and provides a suitable ssh binary.

(Perhaps we can come up with a better convention for providing wrapped paths?)

Currently, only detects the nix-copy-closure as needing ssh. Adds NP_SSH environment variable to allow user to add ssh for other commands e.g. nix copy.

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.

nix-copy-closure, nix copy doesn't work

1 participant