![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Types | |
| typedef std::vector< PrimOp > | PrimOps |
Public Member Functions | |
| RegisterPrimOp (PrimOp &&primOp) | |
Static Public Member Functions | |
| static PrimOps & | primOps () |
| nix::RegisterPrimOp::RegisterPrimOp | ( | PrimOp && | primOp | ) |
You can register a constant by passing an arity of 0. fun will get called during EvalState initialization, so there may be primops not yet added and builtins is not yet sorted.