aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéophane Hufschmitt <regnat@users.noreply.github.com>2021-02-04 11:12:24 +0100
committerThéophane Hufschmitt <regnat@users.noreply.github.com>2021-02-19 15:48:31 +0100
commit93d9eb78a0733c5adcbc6ee7b8a257605ae4a32f (patch)
tree1f453e501aba1930216701015c06c37c694f512c
parent87c8d3d702123528ac068bb703232e24431c535e (diff)
Syntactic fixes
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
-rw-r--r--src/libstore/derivations.cc2
-rw-r--r--src/libstore/local-store.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index 4b774c42a..36993ffc2 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -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
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();
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index e06c47cde..0962418dd 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -883,7 +883,7 @@ 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>>>([&]() {