1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-02 13:31:48 +02:00
nix/src/nix-store
John Ericson eb643d034f Store::getFSAccessor: Do not include the store dir
Rather than "mounting" the store inside an empty virtual filesystem,
just return the store as a virtual filesystem. This is more modular.

(FWIW, it also supports two long term hopes of mind:

1. More capability-based Nix language mode. I dream of a "super pure
   eval" where you can only use relative path literals (See #8738), and
   any `fetchTree`-fetched stuff + the store are all disjoint (none is
   mounted in another) file systems.

2. Windows, where the store dir may include drive letters, etc., and is
   thus unsuitable to be the prefix of any `CanonPath`s.

)

Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
2025-04-09 17:34:18 -04:00
..
dotgraph.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
dotgraph.hh Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
graphml.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
graphml.hh Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nix-store.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00