mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Sync tarball cache within tarball cache Activity
This commit is contained in:
parent
d0f8a92363
commit
97ff2ed455
2 changed files with 4 additions and 2 deletions
|
@ -261,11 +261,12 @@ struct GitArchiveInputScheme : InputScheme
|
|||
auto tarballCache = getTarballCache();
|
||||
auto parseSink = tarballCache->getFileSystemObjectSink();
|
||||
auto lastModified = unpackTarfileToSink(archive, *parseSink);
|
||||
auto tree = parseSink->sync();
|
||||
|
||||
act.reset();
|
||||
|
||||
TarballInfo tarballInfo {
|
||||
.treeHash = tarballCache->dereferenceSingletonDirectory(parseSink->sync()),
|
||||
.treeHash = tarballCache->dereferenceSingletonDirectory(tree),
|
||||
.lastModified = lastModified
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue