forked from lix-project/lix
081f14a169
This enables plugins to add new constants, as well as new primops.
10 lines
218 B
C++
10 lines
218 B
C++
#include "primops.hh"
|
|
|
|
using namespace nix;
|
|
|
|
static void prim_anotherNull (EvalState & state, const Pos & pos, Value ** args, Value & v)
|
|
{
|
|
mkNull(v);
|
|
}
|
|
|
|
static RegisterPrimOp r("anotherNull", 0, prim_anotherNull);
|