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

Classes

struct  DrvDeep
 

Public Types

using Opaque = SingleDerivedPath::Opaque
 
using Built = SingleDerivedPath::Built
 
using Raw
 

Public Member Functions

 GENERATE_CMP (NixStringContextElem, me->raw)
 
 MAKE_WRAPPER_CONSTRUCTOR (NixStringContextElem)
 
std::string to_string () const
 

Static Public Member Functions

static NixStringContextElem parse (std::string_view s, const ExperimentalFeatureSettings &xpSettings=experimentalFeatureSettings)
 

Public Attributes

Raw raw
 

Member Typedef Documentation

◆ Built

Derivation output.

Encoded in the form !<output>!<drvPath>.

◆ Opaque

Plain opaque path to some store object.

Encoded as just the path: <path>.

◆ Raw

using nix::NixStringContextElem::Raw
Initial value:
std::variant<
>
Definition context.hh:44
SingleDerivedPath::Built Built
Definition context.hh:55
SingleDerivedPath::Opaque Opaque
Definition context.hh:33

Member Function Documentation

◆ parse()

NixStringContextElem nix::NixStringContextElem::parse ( std::string_view s,
const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings )
static

Decode a context string, one of:

  • <path>
  • =<path>
  • !<name>!<path>
Parameters
xpSettingsStop-gap to avoid globals during unit tests.

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