Earlier quoted context omitted.
If you have to `mkdir /nix` , what's wrong with `mkdir -p /opt/nix` ? I don't see how one is "more stable" than the other. The big difference between the two is the later conforms to convention while the former doesn't.
`mkdir -p /opt/nix` assumes that there is a convention, and that this is the correct convention - which may not be the case for every situation, and would result in creating unnecessary nested directories. You could make a more sophisticated installation script that attempts to install Nix into conventional locations depending on the specific operating system - or user input - but if you want a simple catch-all, simp…
A correct assumption on virtually all relevant extant systems...
> which may not be the case for every situation
In the supposed scenario where the assumption isn't correct, the downside of /opt/nix vs /nix is basically insignificant. What's the overhead of one level of directory nesting, a single extra inode? Big whoop.