mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 05:26:02 +01:00
* Allow primops with more that 1 arguments.
This commit is contained in:
parent
e3a50f7e25
commit
bbfdd64741
7 changed files with 102 additions and 104 deletions
|
|
@ -95,7 +95,7 @@ static Expr parse(EvalState & state,
|
|||
if (res) throw Error(data.error);
|
||||
|
||||
try {
|
||||
checkVarDefs(state.primOpsAll, data.result);
|
||||
checkVarDefs(state.primOps, data.result);
|
||||
} catch (Error & e) {
|
||||
throw Error(format("%1%, in `%2%'") % e.msg() % path);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue