mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-13 01:36:15 +02:00
Clarify FIXME in BinaryCacheStore::addToStoreCommon
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
9fbc31a65b
commit
412b3a54fb
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, Source & narSource
|
||||||
|
|
||||||
(void) addToStoreCommon(narSource, repair, checkSigs, {[&](HashResult nar) {
|
(void) addToStoreCommon(narSource, repair, checkSigs, {[&](HashResult nar) {
|
||||||
/* FIXME reinstate these, once we can correctly do hash modulo sink as
|
/* FIXME reinstate these, once we can correctly do hash modulo sink as
|
||||||
needed. */
|
needed. We need to throw here in case we uploaded a corrupted store path. */
|
||||||
// assert(info.narHash == nar.first);
|
// assert(info.narHash == nar.first);
|
||||||
// assert(info.narSize == nar.second);
|
// assert(info.narSize == nar.second);
|
||||||
return info;
|
return info;
|
||||||
|
|
Loading…
Reference in a new issue