Path Cleared For Nix Package Manager On Fedora With /nix Approved

21 Likes

Couldn’t we already just install nix with official of detsys installer and just use it in fedora?:thinking:

Or I’m missing out something?

Detsys’s installer won’t support upstream nix, and the official installer doesn’t support uninstalling. And anyway, this is for using the native package management on fedora rather than brittle scripts that may not clean up after themselves.

1 Like

Still I’m confused :confused:. I thought we can use nix in fedora already.

What about this is unclear? nix is not currently packaged officially for fedora.

I imagine that causes even more problems for Silverblue, though I’m not familiar with their process to know if this is sufficient to have it running on that distro.

4 Likes

While not strictly necessary, this does make it easier for to have your Nix installation managed by your Fedora tooling.

1 Like

This is great! I mostly use NixOS, but sometimes I want to test the code that I write on more traditional Linux distros. In those situations, I use a Fedora VM. Having a Fedora package for Nix will make it easier to install Nix in that VM which is great!

Ok makes sense after reading other’s comments too. So it’s like a rule exemption for fedora package management. Earlier it was not possible because fedora package management have a rule not to use /nix or other non fhs places for their packages. Now the rule is exempted, so people can package nix binary for fedora and install nix from their official repo.
I hope I got it right now😅

2 Likes

I’d love to see it officially packaged in Debian (and derivatives) too. Hoping they will follow.

How much more official do you want to it?
https://tracker.debian.org/pkg/nix

1 Like

Wow, I totally missed when that happened. I see it’s even made it to Ubuntu now. (As nix-bin and nix-setup-systemd.)