mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
use Tree ctor
This commit is contained in:
parent
7680993506
commit
c254254a80
6 changed files with 13 additions and 33 deletions
|
@ -140,10 +140,7 @@ struct GitArchiveInputScheme : InputScheme
|
|||
if (auto res = getCache()->lookup(store, immutableAttrs)) {
|
||||
input.attrs.insert_or_assign("lastModified", getIntAttr(res->first, "lastModified"));
|
||||
return {
|
||||
Tree{
|
||||
.actualPath = store->toRealPath(res->second),
|
||||
.storePath = std::move(res->second),
|
||||
},
|
||||
Tree(store->toRealPath(res->second), std::move(res->second)),
|
||||
input
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue