Skip to content

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

Open
irisjae wants to merge 1 commit into
DavHau:mainfrom
irisjae:main
Open

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

Conversation

@irisjae

@irisjae irisjae commented Apr 7, 2025

Copy link
Copy Markdown

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.

Hayao0819 added a commit to Hayao0819/nix-portable that referenced this pull request May 24, 2026
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