3 ms·
> NixOS, like totally tossed LFS out, 100% Not quite. NixOS still relies heavily on the FHS layout. It just dropped the usage of some global directories in or
by soraminazuki 4y ago
> NixOS, like totally tossed LFS out, 100%
Not quite. NixOS still relies heavily on the FHS layout. It just dropped the usage of some global directories in order to provide features it otherwise couldn't have.
More specifically:
* Only a few top-level directories are actually dropped, like /bin, /lib, /share, and /usr. Well technically /usr exists, but it only has /usr/bin/env in it and /usr/bin is excluded from the default $PATH.
* Individual packages placed under /nix/store/ still adheres to FHS. While packages technically don't need to adhere to FHS, Nix expects commands to be placed under ./bin, man pages under ./share/man, and so on and so forth.
- egberts1 4y agoMy bad, like 80%.