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
"is not a regular file" error #133
Comments
@gwerbin Did you manage to get it working? I'm following those NixOS wiki instructions and have the same issue so I was wondering if there is some way to use PRoot.. |
Looks like the -b option is needed: mkdir -m 0755 ~/.nix Now it should be possible to run the standard nix package manager install instructions N.B. Be sure to fully logout after installing nix so that .nix-profile is loaded. |
@ignesco it worked, thank you! But then I got this error:
Not sure if the installation worked fully or not. Also not sure this is PRoot related. |
What am I doing wrong?
This is on Linux kernel 3.10.0 on an x86_64 system, with a non-administrator account.
edit: it seems like the instructions from https://nixos.wiki/wiki/Nix_Installation_Guide#PRoot are out of date, as it looks like the CLI is different from what those expect. Not sure if I should close this. The closest I've gotten was
proot -S / /bin/sh
but that doesn't appear to act like a chroot at all -- e.g.pwd
doesn't show/
it shows whatever directory I was already in.The text was updated successfully, but these errors were encountered: