News for hackers. Stuff that matters.
Re:The Flox Open Beta by stavros on Tuesday February 07, 2023 @08:17PM (#34702736)
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.

Re:The Flox Open Beta by tomberek on Wednesday February 08, 2023 @03:06AM (#34705439)
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?

Re:The Flox Open Beta by stavros on Wednesday February 08, 2023 @05:46AM (#34706453)
Ah, I didn't realize I had a previous installation. Yes, thank you, I can send logs. What do you need?
Re:The Flox Open Beta by mkenigs on Wednesday February 08, 2023 @09:13AM (#34708230)
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?
Re:The Flox Open Beta by stavros on Wednesday February 08, 2023 @09:19AM (#34708323)
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.
Re:The Flox Open Beta by mkenigs on Wednesday February 08, 2023 @07:34PM (#34717962)
We'll take that into consideration! If you prefer, you can open an issue under github.com/flox/flox
Re:The Flox Open Beta by brantleyr on Thursday February 09, 2023 @05:26AM (#34721975)
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.
Re:The Flox Open Beta by stavros on Thursday February 09, 2023 @05:28AM (#34721989)
No problem, thanks!