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

Unable to switch due to spaces in path name #41

Closed
alexandre-lavoie opened this issue Jan 30, 2021 · 2 comments
Closed

Unable to switch due to spaces in path name #41

alexandre-lavoie opened this issue Jan 30, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@alexandre-lavoie
Copy link

alexandre-lavoie commented Jan 30, 2021

Describe the bug
I am using a path that includes spaces in the name. I am unable to switch environments because of it. The error message is as follows:

Command failed: nix-shell /mnt/Disk E/.../shell.nix --run env error: getting status of '/mnt/Disk': No such file or directory

(I've replaced the full path with ...).

To Reproduce

  1. Create a folder with spaces in the name and a *.nix.
  2. Switch to the *.nix environment.

Expected behavior
I expect to be able to switch environment.

Environment:
This should affect any OS that allows spaces in the path.

Additional context
Open #42 as a possible fix to the issue.

@alexandre-lavoie alexandre-lavoie added the bug Something isn't working label Jan 30, 2021
alexandre-lavoie added a commit to alexandre-lavoie/nix-env-selector that referenced this issue Jan 30, 2021
@nbren12
Copy link

nbren12 commented Feb 14, 2021

I am having the same issue.

@arrterian
Copy link
Owner

Fixed in #44
Released in v1.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants