* I love that there's a .deb. Usually it's either a GH binary, or curlbash.
* I love the uninstallation instructions. Everyone else doesn't give a shit what they leave all over my filesystem.
* I can't really install it because I don't have Nix, and I don't really know how to get Nix on Ubuntu. I tried some packages once, but they didn't work. I'd appreciate some help here, as Flox is a non-starter if people can't install Nix. It doesn't even mention that I need Nix, the deb just fails to install. This is a pretty big omission.
EDIT: Turns out it fails because I already had Nix? The systemd unit needed to be removed. That's odd.
* I tried to follow the "first environment example", immediately got an error:
error: could not set permissions on '/nix/var/nix/gcroots/per-user' to 755: Operation not permitted
No guidance on how to proceed from here. That directory is already 755. Googling the error leads me to a GitHub issue with hundreds of comments, and no obvious solution other than somehow reinstalling, but I don't think I installed Nix in the first place?
Handling all cases of pre-existing Nix installations, (multi-user, single-user, incomplete, broken, etc) is something we are trying to improve. There is also upstream community work going into improving this experience and we will adopt that as it becomes available. The .deb installs Nix for you, so your best bet is to remove the existing installation (https://nixos.org/manual/nix/stable/installation/installing-...) and try the native installer.
Regardless, I'd like to fix the scenario you are in. Would you be willing to send in some logs or details?
I tried, but I need to create an account, enter my name, a password, my email, wait for the email, click on the activation link, and then wait for a moderator to approve me. This feels like too much effort when I could go to GitHub and upload a file, so I don't think I'll manage it by the time a moderator gets around to approving me.
Thank you for pointing this out! I apologise for the inconvenience and oversight; it is a setting I forgot to update when we launched which has now been fixed.
Comments
Some feedback, as I'm trying it out:
* I love that there's a .deb. Usually it's either a GH binary, or curlbash.
* I love the uninstallation instructions. Everyone else doesn't give a shit what they leave all over my filesystem.
* I can't really install it because I don't have Nix, and I don't really know how to get Nix on Ubuntu. I tried some packages once, but they didn't work. I'd appreciate some help here, as Flox is a non-starter if people can't install Nix. It doesn't even mention that I need Nix, the deb just fails to install. This is a pretty big omission.
EDIT: Turns out it fails because I already had Nix? The systemd unit needed to be removed. That's odd.
* I tried to follow the "first environment example", immediately got an error:
error: could not set permissions on '/nix/var/nix/gcroots/per-user' to 755: Operation not permitted
No guidance on how to proceed from here. That directory is already 755. Googling the error leads me to a GitHub issue with hundreds of comments, and no obvious solution other than somehow reinstalling, but I don't think I installed Nix in the first place?
That's the end of the line for me, sadly.
Handling all cases of pre-existing Nix installations, (multi-user, single-user, incomplete, broken, etc) is something we are trying to improve. There is also upstream community work going into improving this experience and we will adopt that as it becomes available. The .deb installs Nix for you, so your best bet is to remove the existing installation (https://nixos.org/manual/nix/stable/installation/installing-...) and try the native installer.
Regardless, I'd like to fix the scenario you are in. Would you be willing to send in some logs or details?
Ah, I didn't realize I had a previous installation. Yes, thank you, I can send logs. What do you need?
Hi there! Sorry to hear you're having trouble :( Could you open a bug report at https://discourse.floxdev.com/c/bug-reports and upload /tmp/flox-installation.log?
I tried, but I need to create an account, enter my name, a password, my email, wait for the email, click on the activation link, and then wait for a moderator to approve me. This feels like too much effort when I could go to GitHub and upload a file, so I don't think I'll manage it by the time a moderator gets around to approving me.
Thank you for pointing this out! I apologise for the inconvenience and oversight; it is a setting I forgot to update when we launched which has now been fixed.
No problem, thanks!
We'll take that into consideration! If you prefer, you can open an issue under github.com/flox/flox