aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/design/store/building.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/manual/src/design/store/building.md')
-rw-r--r--doc/manual/src/design/store/building.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/manual/src/design/store/building.md b/doc/manual/src/design/store/building.md
index e69de29bb..5adccbc0b 100644
--- a/doc/manual/src/design/store/building.md
+++ b/doc/manual/src/design/store/building.md
@@ -0,0 +1,15 @@
+# Building
+
+## Scanning for references
+
+Before in the section on [store entries](../entries.md), we talked abstractly about scanning for references.
+Now we can make this concrete.
+
+After the derivation's command is run, Nix needs to process the "raw" output directories to turn them into legit store entries.
+There is a few steps of this, but let's start with the simple case of one input-addressed output first.
+
+\[Overview of things that need to happen.]
+
+For example, if Nix thinks `/nix/store/asdfasdfasdf-foo` and `/nix/store/qwerqwerqwer-bar` are paths the data might plausibly reference, Nix will scan all the contents of all files recursively for the "hash parts" `asdfasdfasdf`` and `qwerqwerqwer`.
+
+\[Explain why whitelist.]