Skip to content

Commit 2890a2e

Browse files
committed
Typo
1 parent 9e6b89c commit 2890a2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libexpr/eval.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2441,7 +2441,7 @@ StorePath EvalState::coerceToStorePath(const PosIdx pos, Value & v, NixStringCon
24412441
auto path = coerceToString(pos, v, context, errorCtx, false, false, true).toOwned();
24422442
if (auto storePath = store->maybeParseStorePath(path))
24432443
return *storePath;
2444-
error<EvalError>("cannoet coerce '%s' to a store path because it's not in the Nix store", path).withTrace(pos, errorCtx).debugThrow();
2444+
error<EvalError>("cannot coerce '%s' to a store path because it does not denote a subpath of the Nix store", path).withTrace(pos, errorCtx).debugThrow();
24452445
}
24462446

24472447

0 commit comments

Comments
 (0)