mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
C API: builtin -> custom function
Not all primops will be in `builtins`.
This commit is contained in:
parent
8ef6efc184
commit
4bc4fb40ea
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ static void nix_c_primop_wrapper(
|
|||
|
||||
if (ctx.last_err_code != NIX_OK) {
|
||||
/* TODO: Throw different errors depending on the error code */
|
||||
state.error<nix::EvalError>("Error from builtin function: %s", *ctx.last_err).atPos(pos).debugThrow();
|
||||
state.error<nix::EvalError>("Error from custom function: %s", *ctx.last_err).atPos(pos).debugThrow();
|
||||
}
|
||||
|
||||
if (!vTmp.isValid()) {
|
||||
|
|
Loading…
Reference in a new issue