forked from lix-project/lix
Syntactic fixes
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
87c8d3d702
commit
93d9eb78a0
|
@ -787,7 +787,7 @@ std::optional<BasicDerivation> Derivation::tryResolve(Store& store, const StoreP
|
||||||
// This is quite dirty and leaky, but will disappear once #4340 is merged
|
// This is quite dirty and leaky, but will disappear once #4340 is merged
|
||||||
static Sync<std::map<StorePath, std::optional<Derivation>>> resolutionsCache;
|
static Sync<std::map<StorePath, std::optional<Derivation>>> resolutionsCache;
|
||||||
|
|
||||||
debug("Trying to resolve %s", store.printStorePath(drvPath));
|
debug("trying to resolve %s", store.printStorePath(drvPath));
|
||||||
|
|
||||||
{
|
{
|
||||||
auto resolutions = resolutionsCache.lock();
|
auto resolutions = resolutionsCache.lock();
|
||||||
|
|
|
@ -883,7 +883,7 @@ StorePathSet LocalStore::queryValidDerivers(const StorePath & path)
|
||||||
|
|
||||||
|
|
||||||
std::map<std::string, std::optional<StorePath>>
|
std::map<std::string, std::optional<StorePath>>
|
||||||
LocalStore::queryPartialDerivationOutputMap(const StorePath& path_)
|
LocalStore::queryPartialDerivationOutputMap(const StorePath & path_)
|
||||||
{
|
{
|
||||||
auto path = path_;
|
auto path = path_;
|
||||||
auto outputs = retrySQLite<std::map<std::string, std::optional<StorePath>>>([&]() {
|
auto outputs = retrySQLite<std::map<std::string, std::optional<StorePath>>>([&]() {
|
||||||
|
|
Loading…
Reference in a new issue