1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-03 06:11:46 +02:00

Use proper quotes everywhere

This commit is contained in:
Eelco Dolstra 2014-08-20 17:00:17 +02:00
parent 373fad75e1
commit 11849a320e
54 changed files with 548 additions and 543 deletions

View file

@ -73,7 +73,7 @@ void processExpr(EvalState & state, const Strings & attrPaths,
/* What output do we want? */
string outputName = i->queryOutputName();
if (outputName == "")
throw Error(format("derivation `%1%' lacks an `outputName' attribute ") % drvPath);
throw Error(format("derivation %1% lacks an outputName attribute ") % drvPath);
if (gcRoot == "")
printGCWarning();
@ -168,7 +168,7 @@ int main(int argc, char * * argv)
if (findFile) {
foreach (Strings::iterator, i, files) {
Path p = state.findFile(*i);
if (p == "") throw Error(format("unable to find `%1%'") % *i);
if (p == "") throw Error(format("unable to find %1%") % *i);
std::cout << p << std::endl;
}
return;