[Request] nix (the package manager)
What software are you requesting to be packaged? Nix https://github.com/NixOS/nix
Describe the motivation I don't think Nix needs much introduction. Its main repository, nixpkgs has the highest number of packages among any other package repository, and it's a wonderful package manager to use in an atomic distro, where RPMs can't (or shouldn't) be installed at runtime.
Additional context An RPM, without a standalone repo, is provided as a "legacy" installer at: https://nix-community.github.io/nix-installers
However, this installer is incompatible with OSTree-based distributions as it uses /nix directly. Determinate Nix installer works around this by installing /nix inside /var and mounting it to /nix on boot through a systemd service. Our package should be compatible with atomic distros following a similar approach.
Cursed, but I'd honestly considered asking about adding this because Ghostty was messed up and trying to dep on Nix stuff for a bit.
This is probably legacy because system wide Nix package manager doesn't work with SELinux. https://nixos.org/download/
The RPM installer and Determinate's installer both include SELinux policies that work fine on Fedora (these are notably absent in the "official" bash installer).
https://github.com/nix-community/nix-installers/tree/master/selinux https://github.com/DeterminateSystems/nix-installer/tree/main/src/action/linux/selinux
The RPM installer and Determinate's installer both include SELinux policies that work fine on Fedora (these are notably absent in the "official" bash installer).
https://github.com/nix-community/nix-installers/tree/master/selinux https://github.com/DeterminateSystems/nix-installer/tree/main/src/action/linux/selinux
Interesting, something to keep in mind then.
This is probably legacy because system wide Nix package manager doesn't work with SELinux. https://nixos.org/download/
Just use Lix, and your SELinux problems related with Nix disappear
Nix has been proposed to Fedora https://fedoraproject.org/wiki/Changes/Nix_package_tool
I would honestly wait for Fedora, I don't (and can't) use atomic and no one here can make sure it works in atomic.