Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::Constant Struct Reference

#include <eval.hh>

Public Attributes

ValueType type = nThunk
const char * doc = nullptr
bool impureOnly = false

Detailed Description

Info about a constant

Member Data Documentation

◆ doc

const char* nix::Constant::doc = nullptr

Optional free-form documentation about the constant.

◆ impureOnly

bool nix::Constant::impureOnly = false

Whether the constant is impure, and not available in pure mode.

◆ type

ValueType nix::Constant::type = nThunk

Optional type of the constant (known since it is a fixed value).

Todo
we should use an enum for this.

The documentation for this struct was generated from the following file: