This commit is contained in:
Eelco Dolstra 2016-03-24 11:27:58 +01:00
parent 8b7839b608
commit 11525377e1

View file

@ -135,14 +135,14 @@ void checkStoreName(const string & name)
if <type> = "source": if <type> = "source":
the serialisation of the path from which this store path is the serialisation of the path from which this store path is
copied, as returned by hashPath() copied, as returned by hashPath()
if <type> = "output:out": if <type> = "output:<id>":
for non-fixed derivation outputs: for non-fixed derivation outputs:
the derivation (see hashDerivationModulo() in the derivation (see hashDerivationModulo() in
primops.cc) primops.cc)
for paths copied by addToStore() or produced by fixed-output for paths copied by addToStore() or produced by fixed-output
derivations: derivations:
the string "fixed:out:<rec><algo>:<hash>:", where the string "fixed:out:<rec><algo>:<hash>:", where
<rec> = "r:" for recursive (path) hashes, or "" or flat <rec> = "r:" for recursive (path) hashes, or "" for flat
(file) hashes (file) hashes
<algo> = "md5", "sha1" or "sha256" <algo> = "md5", "sha1" or "sha256"
<hash> = base-16 representation of the path or flat hash of <hash> = base-16 representation of the path or flat hash of