mirror of
https://github.com/NixOS/nix
synced 2025-06-29 06:21:14 +02:00
use Tree ctor
This commit is contained in:
parent
7680993506
commit
c254254a80
6 changed files with 13 additions and 33 deletions
|
@ -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
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue