mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-11 00:36:20 +02:00
Fix grammar.
This commit is contained in:
parent
3cfb8d1584
commit
30a7bfbebe
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue