mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 01:36:15 +02:00
parent
e664270c2b
commit
761ac9d584
1 changed files with 0 additions and 5 deletions
|
@ -1244,11 +1244,6 @@ void LocalStore::addToStore(const ValidPathInfo & info, Source & source,
|
||||||
|
|
||||||
deletePath(realPath);
|
deletePath(realPath);
|
||||||
|
|
||||||
// text hashing has long been allowed to have non-self-references because it is used for drv files.
|
|
||||||
bool refersToSelf = info.references.count(info.path) > 0;
|
|
||||||
if (info.ca.has_value() && !info.references.empty() && !(std::holds_alternative<TextHash>(*info.ca) && !refersToSelf))
|
|
||||||
settings.requireExperimentalFeature("ca-references");
|
|
||||||
|
|
||||||
/* While restoring the path from the NAR, compute the hash
|
/* While restoring the path from the NAR, compute the hash
|
||||||
of the NAR. */
|
of the NAR. */
|
||||||
HashSink hashSink(htSHA256);
|
HashSink hashSink(htSHA256);
|
||||||
|
|
Loading…
Reference in a new issue