mirror of
https://github.com/NixOS/nix.git
synced 2024-11-28 17:52:25 +00:00
Merge pull request #1660 from 4z3/patch-1
fetchMercurial: fix error message
This commit is contained in:
commit
e104842f8b
@ -167,7 +167,7 @@ static void prim_fetchMercurial(EvalState & state, const Pos & pos, Value * * ar
|
||||
else if (n == "name")
|
||||
name = state.forceStringNoCtx(*attr.value, *attr.pos);
|
||||
else
|
||||
throw EvalError("unsupported argument '%s' to 'fetchGit', at %s", attr.name, *attr.pos);
|
||||
throw EvalError("unsupported argument '%s' to 'fetchMercurial', at %s", attr.name, *attr.pos);
|
||||
}
|
||||
|
||||
if (url.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user