1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-20 11:11:03 -04:00

Fix grammar.

This commit is contained in:
Scott Olson 2016-02-15 23:11:26 -06:00
parent 3cfb8d1584
commit 30a7bfbebe

View file

@ -316,7 +316,7 @@ bool NixRepl::processLine(string line)
evalString(arg, v);
DrvInfo drvInfo(state);
if (!getDerivation(state, v, drvInfo, false))
throw Error("expression does not evaluation to a derivation, so I can't build it");
throw Error("expression does not evaluate to a derivation, so I can't build it");
Path drvPath = drvInfo.queryDrvPath();
if (drvPath == "" || !store->isValidPath(drvPath))
throw Error("expression did not evaluate to a valid derivation");