aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/misc.cc
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-06-19 15:19:09 -0400
committerMatthew Bauer <mjbauer95@gmail.com>2020-06-19 15:19:09 -0400
commite8e1f5282ff213be010cbe45772b9e725c01f285 (patch)
tree812c55fc8cc4dcc50e421c8ff04d84c6ad8f419a /src/libstore/misc.cc
parent0c9c1b8826395a9023606cd7749aa16ef6771941 (diff)
Replace error message in getDerivationCA
Diffstat (limited to 'src/libstore/misc.cc')
-rw-r--r--src/libstore/misc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/misc.cc b/src/libstore/misc.cc
index 128c3c987..a01e81b78 100644
--- a/src/libstore/misc.cc
+++ b/src/libstore/misc.cc
@@ -126,7 +126,7 @@ std::optional<std::string> getDerivationCA(const BasicDerivation & drv)
else if (outputHashMode->second == "flat")
ingestionMethod = FileIngestionMethod::Flat;
else
- throw Error("unknown ingestion method: '%s'", outputHashMode->second);
+ throw Error("unknown outputHashMode: '%s'", outputHashMode->second);
return makeFixedOutputCA(ingestionMethod, h);
}