forked from lix-project/lix
Remove redundant nar hash and size setting
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
1832436526
commit
25fffdda86
|
@ -173,8 +173,6 @@ ref<const ValidPathInfo> BinaryCacheStore::addToStoreCommon(
|
|||
|
||||
auto info = mkInfo(narHashSink.finish());
|
||||
auto narInfo = make_ref<NarInfo>(info);
|
||||
narInfo->narSize = info.narSize; // FIXME needed?
|
||||
narInfo->narHash = info.narHash; // FIXME needed?
|
||||
narInfo->compression = compression;
|
||||
auto [fileHash, fileSize] = fileHashSink.finish();
|
||||
narInfo->fileHash = fileHash;
|
||||
|
|
Loading…
Reference in a new issue