forked from lix-project/lix
Update src/libstore/binary-cache-store.cc
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
25fffdda86
commit
6c31297d80
|
@ -307,7 +307,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, Source & narSource
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
(void) addToStoreCommon(narSource, repair, checkSigs, {[&](HashResult nar) {
|
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. We need to throw here in case we uploaded a corrupted store path. */
|
needed. We need to throw here in case we uploaded a corrupted store path. */
|
||||||
// assert(info.narHash == nar.first);
|
// assert(info.narHash == nar.first);
|
||||||
|
|
Loading…
Reference in a new issue