3 ms·
Nothing about that says that the path has to be /nix — it would work just as well with the standard layout under /opt/nix. It also seems like it doesn't really
by acdha 7y ago
Nothing about that says that the path has to be /nix — it would work just as well with the standard layout under /opt/nix.
It also seems like it doesn't really help with the stated problem since a developer who would hard-code /usr/bin/nginx but not list it as a dependency would almost certainly just use whatever `which nginx` returns. The thing which would solve that is depending on a precise version or hash, and if you're doing that, the path prefix doesn't really matter.