4 ms·
What should the default nix store path have been then?
by adamtulinius 6y ago
What should the default nix store path have been then?
- hunterloftis 6y agoIn my very limited (I don't use nix) opinion, the default of /nix isn't an issue, but rather: > and it's not possible to migrate without causing major disruptions for existing NixOS and other Linux users. Software that can't be re-parented without breaking is destined to create problems for users... eventually.
- soraminazuki 6y agoUnfortunately, what you're asking for is fundamentally impossible with binary package managers.
- danudey 6y agoThe obvious option would be /opt/nix, /usr/local/nix, or something to that effect. /nix is a clearly obviously bad choice, and now we're starting to see why.
- Spivak 6y agoThe problem is that /opt/nix isn’t safe from the OS and Nix is explicitly software that doesn’t follow the FHS so it makes no sense to install it in a prefix. /opt/local/nix is probably safe.
- blunte 6y ago/usr/local/something
- Spivak 6y ago/usr/local is a prefix and contains local software that follows the FHS (i.e. libs in lib/, docs in doc/ binaries in bin/). Nix explicitly doesn’t do that so it would be inappropriate to install it there.
- kempbellt 6y agoWhat it was: `/nix` Or maybe `/notroot/nix` to make people happy. "The root directory is untouchable" is a new fear-based imperative that would have been hard to predict.