mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Explain various .self = false,
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
fd21f9d76e
commit
537e8719f2
3 changed files with 4 additions and 0 deletions
|
@ -315,6 +315,7 @@ StorePath BinaryCacheStore::addToStoreFromDump(Source & dump, std::string_view n
|
|||
},
|
||||
.references = {
|
||||
.others = references,
|
||||
// caller is not capable of creating a self-reference, because this is content-addressed without modulus
|
||||
.self = false,
|
||||
},
|
||||
},
|
||||
|
@ -433,6 +434,7 @@ StorePath BinaryCacheStore::addToStore(
|
|||
},
|
||||
.references = {
|
||||
.others = references,
|
||||
// caller is not capable of creating a self-reference, because this is content-addressed without modulus
|
||||
.self = false,
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue