diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-09-28 11:32:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-28 11:32:58 -0400 |
commit | 6c31297d80b71ab9c2c1084fae22f726f7d89daa (patch) | |
tree | 2b5af22c95b9054aaa7fcfcecc248edc97bf47c9 /src | |
parent | 25fffdda865e51f68e72e0ca1775800b60391820 (diff) |
Update src/libstore/binary-cache-store.cc
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 59d02cab5..f6224d6a0 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -307,7 +307,7 @@ void BinaryCacheStore::addToStore(const ValidPathInfo & info, Source & narSource 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 needed. We need to throw here in case we uploaded a corrupted store path. */ // assert(info.narHash == nar.first); |