1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-16 14:01:05 +01:00
nix/src/libstore
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
..
build Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
builtins Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
include/nix/store Clean some header related things. 2025-04-06 18:53:38 -04:00
linux Keep fchmodat2-compat.hh private 2025-04-07 18:19:42 +02:00
unix Keep fchmodat2-compat.hh private 2025-04-07 18:19:42 +02:00
windows Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
.version Build nix-store with Meson 2024-06-14 10:25:14 -04:00
binary-cache-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
build-result.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
ca-specific-schema.sql Rename to "content-address*ing* derivation" 2025-02-10 01:12:56 -05:00
common-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
common-ssh-store-config.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
content-address.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
daemon.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
derivation-options.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
derivations.cc Fix -Wdangling-reference 2025-04-02 20:51:45 +00:00
derived-path-map.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
derived-path.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
downstream-placeholder.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
dummy-store.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
dummy-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
export-import.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
filetransfer.cc Clean some header related things. 2025-04-06 18:53:38 -04:00
gc.cc Fix more -Wundef, in darwin context 2025-04-05 01:04:58 +02:00
globals.cc Add trailing commas on addFlag incantations 2025-04-07 17:18:15 -04:00
http-binary-cache-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
http-binary-cache-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
indirect-root-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
keys.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
legacy-ssh-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
legacy-ssh-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
local-binary-cache-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
local-binary-cache-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
local-fs-store.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
local-overlay-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
local-overlay-store.md doc, src: Fix various spelling typos 2024-09-28 15:29:15 -07:00
local-store.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
local-store.md Build the local store on Windows 2024-05-10 13:05:23 -04:00
log-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
machines.cc Fix another machine config parsing bug 2025-04-09 15:33:09 -04:00
make-content-addressed.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
meson.build Get rid of raw -D defines, always use private config files 2025-04-06 18:53:42 -04:00
meson.options Meson misc things 2024-08-27 10:19:55 -04:00
misc.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
mounted-ssh-store.md MountedSSHStore: stores on shared filesystems 2023-11-21 13:34:01 -05:00
names.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-accessor.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-info-disk-cache.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nar-info.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
nix-meson-build-support rename: build-utils-meson -> nix-meson-build-support 2024-12-09 16:54:42 +01:00
optimise-store.cc Add -Wundef to make #if FOO an error if not defined 2025-04-05 00:45:19 +02:00
outputs-spec.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
package.nix Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
parsed-derivations.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path-info.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path-references.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path-with-outputs.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
path.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
pathlocks.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
posix-fs-canonicalise.cc Add -Wundef to make #if FOO an error if not defined 2025-04-05 00:45:19 +02:00
profiles.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
realisation.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
remote-fs-accessor.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
remote-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
restricted-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
s3-binary-cache-store.cc Clean some header related things. 2025-04-06 18:53:38 -04:00
s3-binary-cache-store.md fix location 2024-09-27 11:07:04 +02:00
schema.sql Build the local store on Windows 2024-05-10 13:05:23 -04:00
serve-protocol-connection.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
serve-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
sqlite.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
ssh-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
ssh-store.md Support per-store Markdown documentation 2023-03-21 14:03:40 +01:00
ssh.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
store-api.cc Store::getFSAccessor: Do not include the store dir 2025-04-09 17:34:18 -04:00
store-reference.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
uds-remote-store.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
uds-remote-store.md Enable the unix:// store on Windows 2024-04-18 16:58:32 -04:00
worker-protocol-connection.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00
worker-protocol.cc Expose the nix component in header include paths 2025-04-01 11:40:42 -04:00