1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 06:21:14 +02:00

use Tree ctor

This commit is contained in:
Matthew Kenigsberg 2020-06-01 08:59:26 -06:00
parent 7680993506
commit c254254a80
6 changed files with 13 additions and 33 deletions

View file

@ -96,10 +96,7 @@ struct PathInputScheme : InputScheme
storePath = store->addToStore("source", path);
return {
Tree {
.actualPath = store->toRealPath(*storePath),
.storePath = std::move(*storePath),
},
Tree(store->toRealPath(*storePath), std::move(*storePath)),
input
};
}