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

doesn't work on NixOS: "Could not execute 'ls' system command" #25

Open
JonathanReeve opened this issue Jan 2, 2022 · 0 comments
Open

Comments

@JonathanReeve
Copy link

Since the location of the ls command is hard-coded at /bin/ls/, this extension won't work on NixOS, which has different locations for these commands. (which ls for me reports /run/current-system/sw/bin/ls).

I think a solution to this would be to replace the function which runs /bin/ls with one that just runs ls, which should be locatable by subprocess, I imagine.

FWIW, if another NixOS user sees this, a dirty workaround is to run sudo ln -s which ls /bin/ls.

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