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

Public Types

typedef std::vector< PrimOpPrimOps
 

Public Member Functions

 RegisterPrimOp (PrimOp &&primOp)
 

Static Public Attributes

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: