Skip to content
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

Question: How to interact with sub-shell created from the main shell #472

Open
hvaoc opened this issue Nov 11, 2023 · 0 comments
Open

Question: How to interact with sub-shell created from the main shell #472

hvaoc opened this issue Nov 11, 2023 · 0 comments

Comments

@hvaoc
Copy link

hvaoc commented Nov 11, 2023

I am trying to make the ssh connection to enable a nix-shell and run few commands inside.

Sequence is like this

ssh [email protected]
ENTER password
cd /main
nix-shell node.nix <- It works up to this point, now here it enters sub shell session and I am not able to interact with this sub shell.
nix-shell > node -v <- this is not entered in the nix-shell but runs on the parent shell and ends in error

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

No branches or pull requests

1 participant