mirror of
https://github.com/NixOS/nix
synced 2025-06-24 22:11:15 +02:00
Improve the documentation of store path
# Conflicts: # doc/manual/source/protocols/store-path.md
This commit is contained in:
parent
f497711aa8
commit
355a923e81
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ The format of this specification is close to [Extended Backus–Naur form](https
|
|||
Regular users do *not* need to know this information --- store paths can be treated as black boxes computed from the properties of the store objects they refer to.
|
||||
But for those interested in exactly how Nix works, e.g. if they are reimplementing it, this information can be useful.
|
||||
|
||||
[store path](@docroot@/store/store-path.md)
|
||||
[store path]: @docroot@/store/store-path.md
|
||||
|
||||
## Store path proper
|
||||
|
||||
|
@ -30,7 +30,7 @@ the end, while base-16 processes in from the beginning.
|
|||
## Fingerprint
|
||||
|
||||
- ```ebnf
|
||||
fingerprint = type ":" sha256 ":" inner-digest ":" store ":" name
|
||||
fingerprint = type ":sha256:" inner-digest ":" store ":" name
|
||||
```
|
||||
|
||||
Note that it includes the location of the store as well as the name to make sure that changes to either of those are reflected in the hash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue