diff options
-rw-r--r-- | src/libstore/local-store.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc index e69460e6c..892ff2295 100644 --- a/src/libstore/local-store.cc +++ b/src/libstore/local-store.cc @@ -1022,9 +1022,8 @@ StorePathSet LocalStore::queryValidDerivers(const StorePath & path) std::map<std::string, std::optional<StorePath>> -LocalStore::queryPartialDerivationOutputMap(const StorePath & path_) +LocalStore::queryPartialDerivationOutputMap(const StorePath & path) { - auto path = path_; auto outputs = retrySQLite<std::map<std::string, std::optional<StorePath>>>([&]() { auto state(_state.lock()); std::map<std::string, std::optional<StorePath>> outputs; |