mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Fix tests/NixOS/nix/2.18.1
This commit is contained in:
parent
2a35d8f800
commit
8739d35529
1 changed files with 1 additions and 1 deletions
|
@ -2078,7 +2078,7 @@ void ExprConcatStrings::eval(EvalState & state, Env & env, Value & v)
|
|||
else if (firstType == nFloat)
|
||||
v.mkFloat(nf);
|
||||
else if (firstType == nPath) {
|
||||
if (!context.empty())
|
||||
if (hasContext(context))
|
||||
state.error<EvalError>("a string that refers to a store path cannot be appended to a path").atPos(pos).withFrame(env, *this).debugThrow();
|
||||
v.mkPath(state.rootPath(CanonPath(str())));
|
||||
} else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue