mirror of
https://github.com/NixOS/nix.git
synced 2025-11-20 09:19:36 +01:00
callFunction: Use std::span
This is a bit safer than having a separate nrArgs argument.
This commit is contained in:
parent
14edb78d53
commit
a2e4a4c238
5 changed files with 22 additions and 27 deletions
|
|
@ -816,7 +816,7 @@ void callFlake(EvalState & state,
|
|||
assert(vFetchFinalTree);
|
||||
|
||||
Value * args[] = {vLocks, &vOverrides, *vFetchFinalTree};
|
||||
state.callFunction(*vCallFlake, 3, args, vRes, noPos);
|
||||
state.callFunction(*vCallFlake, args, vRes, noPos);
|
||||
}
|
||||
|
||||
void initLib(const Settings & settings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue