aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-26 12:07:14 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-07-26 12:07:14 +0200
commitf3dda728a4a92520ec9db7bd28a184af9c07db0d (patch)
tree0daf046dabb92758e7caec0967325bd2c9fcf3af /src/libstore
parentd6d5885c1567454754a0d260521bafa0bd5e7fdb (diff)
Remove unnecessary parentheses
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/build.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc
index e7696e44e..d1703f483 100644
--- a/src/libstore/build.cc
+++ b/src/libstore/build.cc
@@ -2730,10 +2730,10 @@ void DerivationGoal::registerOutputs()
for (auto & i : used)
if (allowed) {
if (spec.find(i) == spec.end())
- throw BuildError(format("output (‘%1%’) is not allowed to refer to path ‘%2%’") % actualPath % i);
+ throw BuildError(format("output ‘%1%’ is not allowed to refer to path ‘%2%’") % actualPath % i);
} else {
if (spec.find(i) != spec.end())
- throw BuildError(format("output (‘%1%’) is not allowed to refer to path ‘%2%’") % actualPath % i);
+ throw BuildError(format("output ‘%1%’ is not allowed to refer to path ‘%2%’") % actualPath % i);
}
};