mirror of
https://github.com/NixOS/nix.git
synced 2025-12-15 13:31:05 +01:00
use Tree ctor
This commit is contained in:
parent
7680993506
commit
c254254a80
6 changed files with 13 additions and 33 deletions
|
|
@ -117,7 +117,7 @@ std::pair<Tree, Input> Input::fetch(ref<Store> store) const
|
|||
|
||||
auto actualPath = store->toRealPath(storePath);
|
||||
|
||||
return {fetchers::Tree { .actualPath = actualPath, .storePath = std::move(storePath) }, *this};
|
||||
return {fetchers::Tree(std::move(actualPath), std::move(storePath)), *this};
|
||||
} catch (Error & e) {
|
||||
debug("substitution of input '%s' failed: %s", to_string(), e.what());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue