Nix does seem like a great package manager. If I understand it
correctly, a system using Nix wouldn't have the usual
directories like /bin but I'm sure that programs with hardcoded
paths could be fixed.
(We don't call filenames "paths". See the GNU coding standards.)
And we spell file name as two words. ;-)
With Nix, how does the shell search for an executable?
It searches PATH for the right executable.
Can we rig up a virtual directory /bin that would appear to contain
the files it ought to contain?
Should be possible I suppose, same for /share, /lib, etc.