-
Notifications
You must be signed in to change notification settings - Fork 61
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
nix-installer v0.10.0 fails when installing Nix 2.15.0 in Alpine Linux container in Proxmox 8.0.3. #539
Comments
Hmm this may be related to |
same error for LXD containers |
The Alpine Linux container in which I tried to run nix-installer is an LXD container. |
Same for an ArchLinux container using Distrobox with "--init" flag. |
I've got the same error on a Proxmox 6.4 host with an Ubuntu 20.04 guest, installer 0.10.0. |
Does it work if you pass |
This may be possible to detect with heuristics. Problem machine:
Non-problem machine
We may be able to set So on
And it would start working. |
Does #638 resolve this issue? |
nix-installer 0.14.0 successfully installed Nix 2.18.1 in my Alpine Linux container. |
The installation works in containers now but if I try anything after that, like using the |
That's strange. Are you running Nix inside a container, like Alpine Linux, that doesn't use systemd? In such containers, you must run Nix using |
I tried in an Alpine and also an Arch container. I did use sudo when there was no init system but got the same error. The error without sudo is about permissions and not device storage. |
I'm getting this error with nix-installer on my host OS as well. I also used the official nix bash installation script On running
I guess I should ask about this at a more appropriate forum but any help is appreciated. |
Is it possible that your root partition or specifically |
No, its on my main disk. It might be a problem with setting $TMPDIR but setting it manually isn't fixing the problem. Anyway, thanks for the help. |
If you're facing this issue with the official bash scripts as well, could I invite you to open an issue on the Nix repo? :) |
Yeah sure. I'll do it tomorrow. Night time here. 🙂 |
nix-installer
v0.10.0 fails when installing Nix 2.15.0 in Alpine Linux container.Error
Metadata
The text was updated successfully, but these errors were encountered: