mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
Make refernces sneak preview more concise
This commit is contained in:
parent
4e4bbd9e83
commit
c86c1ec7e3
1 changed files with 2 additions and 3 deletions
|
@ -62,9 +62,8 @@ Store objects can refer to both other store objects and themselves.
|
||||||
Self-reference may seem pointless, but tracking them is in fact useful.
|
Self-reference may seem pointless, but tracking them is in fact useful.
|
||||||
We can best explain why later after more concepts have been established.
|
We can best explain why later after more concepts have been established.
|
||||||
|
|
||||||
References are normally calculated by scanning the rooted file system objects for store paths (which we describe in the next section) referring to store objects.
|
References are normally calculated so as to to record the presence of textual references in store object's file systems obejcts.
|
||||||
For now, it suffices to say that a store path is a string encoding of a reference to a store paths, and therefore it is something that we can search for in the contents of files, and thus in store objects by searching in all their files.
|
This process will be described precisely in the section on [building](./building.md), once more concepts are explained, as building is the primary path new store objects with non-trivial references are created.
|
||||||
When we get to building in a future section, this process will be described in precise detail.
|
|
||||||
|
|
||||||
However, scanning for references is not mandatory.
|
However, scanning for references is not mandatory.
|
||||||
Store objects are allowed to have official references that *don't* correspond to store paths contained in their contents,
|
Store objects are allowed to have official references that *don't* correspond to store paths contained in their contents,
|
||||||
|
|
Loading…
Reference in a new issue