Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
derived-path.hh File Reference
#include "path.hh"
#include "outputs-spec.hh"
#include "config.hh"
#include "ref.hh"
#include <variant>
#include <nlohmann/json_fwd.hpp>

Go to the source code of this file.

Classes

struct  nix::DerivedPathOpaque
 
struct  nix::SingleDerivedPathBuilt
 
struct  nix::SingleDerivedPath
 
struct  nix::DerivedPathBuilt
 
struct  nix::DerivedPath
 

Typedefs

using nix::_SingleDerivedPathRaw
 
using nix::_DerivedPathRaw
 
typedef std::vector< DerivedPathnix::DerivedPaths
 

Functions

void nix::drvRequireExperiment (const SingleDerivedPath &drv, const ExperimentalFeatureSettings &xpSettings)
 

Typedef Documentation

◆ _DerivedPathRaw

using nix::_DerivedPathRaw
Initial value:
std::variant<
>
Definition derived-path.hh:174
Definition derived-path.hh:27

◆ _SingleDerivedPathRaw

using nix::_SingleDerivedPathRaw
Initial value:
std::variant<
>
Definition derived-path.hh:47

Function Documentation

◆ drvRequireExperiment()

void nix::drvRequireExperiment ( const SingleDerivedPath & drv,
const ExperimentalFeatureSettings & xpSettings = experimentalFeatureSettings )

Used by various parser functions to require experimental features as needed.

Somewhat unfortunate this cannot just be an implementation detail for this module.

Parameters
xpSettingsStop-gap to avoid globals during unit tests.