-
Notifications
You must be signed in to change notification settings - Fork 204
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
devbox shell --pure fails with bin/bash when running as non-root with nix-portable #2222
Comments
Much like before, it seems |
As it my relevant, I also share my
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What happened?
devbox shell
executed without any issues. However, when runningdevbox shell --pure
I got the following error message:Error: fork/exec /nix/store/5q96kfjc8bxwv89fw0fqczwr6083ny8n-bash-interactive-5.2-p15/bin/bash: no such file or directory
I added the
bash@latest
flag topackages
to see if it would resolve the issue. However, it did not work.Searching for a similar issue I found this but this was not very helpful.
Additional Context
My Shell:
bash 5.1.16(1)-release
My Operating System:
Ubuntu 22.04 LTS
Steps to reproduce
I followed the following steps:
install
script to supportnon-root
install: See this issue , and my script belownix-portable
and bound thenix
-binary via symbolic link, as discussed in nix-portable and this issueAs this issue was closed and resolved as of the release v0.10.0, I assumed that I could continue with non-root install.
devbox init
anddevbox shell
to check if devbox was working. These executed without issue.devbox shell --pure
which is when I got the error.Installation Script
devbox.json
devbox.lock
:Devbox version
0.12.0
Nix version
nix (Nix) 2.20.6
What system does this bug occur on?
Linux (x86-64)
Debug logs
The text was updated successfully, but these errors were encountered: