Skip to content

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

Description

@hvaoc

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

Sequence is like this

ssh user@192.168.1.10
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions