1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 10:21:47 +02:00
nix/tests
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
..
functional Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
installer Format .nix files 2025-01-24 17:04:02 +01:00
nixos Merge pull request #12853 from roberth/flake-nixos-unstable 2025-04-01 18:49:10 +02:00
repl-completion.nix Format .nix files 2025-01-24 17:04:02 +01:00