aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/derivations.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/derivations.cc')
-rw-r--r--src/libstore/derivations.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/derivations.cc b/src/libstore/derivations.cc
index 9008be439..2d776fb74 100644
--- a/src/libstore/derivations.cc
+++ b/src/libstore/derivations.cc
@@ -22,7 +22,7 @@ Path writeDerivation(const Derivation & drv, const string & name)
static void checkPath(const string & s)
{
if (s.size() == 0 || s[0] != '/')
- throw Error(format("bad path `%1%' in store expression") % s);
+ throw Error(format("bad path `%1%' in derivation") % s);
}