1
0
Fork 0
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:
Julian Stecklina 2020-03-02 14:50:13 +01:00 committed by Julian Stecklina
parent c846abb5cc
commit 435366ed3c
2 changed files with 4 additions and 4 deletions

View file

@ -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);