Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::RegisterPrimOp Struct Reference

Public Types

typedef std::vector< PrimOp > PrimOps

Public Member Functions

 RegisterPrimOp (PrimOp &&primOp)

Static Public Member Functions

static PrimOps & primOps ()

Constructor & Destructor Documentation

◆ 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:
  • libexpr/include/nix/expr/primops.hh
  • libexpr/primops.cc