mirror of
https://github.com/NixOS/nix
synced 2025-06-26 11:41:15 +02:00
Rename fetchGit fetchSubmodules to just submodules
This commit is contained in:
parent
c846abb5cc
commit
435366ed3c
2 changed files with 4 additions and 4 deletions
|
@ -243,7 +243,7 @@ static void prim_fetchGit(EvalState & state, const Pos & pos, Value * * args, Va
|
|||
rev = state.forceStringNoCtx(*attr.value, *attr.pos);
|
||||
else if (n == "name")
|
||||
name = state.forceStringNoCtx(*attr.value, *attr.pos);
|
||||
else if (n == "fetchSubmodules")
|
||||
else if (n == "submodules")
|
||||
fetchSubmodules = state.forceBool(*attr.value, *attr.pos);
|
||||
else
|
||||
throw EvalError("unsupported argument '%s' to 'fetchGit', at %s", attr.name, *attr.pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue