|
typedef std::vector< PrimOp > | PrimOps |
|
◆ RegisterPrimOp()
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.
The documentation for this struct was generated from the following files:
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/primops.hh
- /home/buildozer/aports/community/nix/src/nix-2.26.3/src/libexpr/primops.cc