Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
derived-path.hh File Reference
#include "lix/libutil/config.hh"
#include "lix/libstore/path.hh"
#include "lix/libstore/outputs-spec.hh"
#include "lix/libutil/comparator.hh"
#include "lix/libutil/json-fwd.hh"
#include "lix/libutil/ref.hh"
#include "lix/libutil/result.hh"
#include <kj/async.h>
#include <variant>
Include dependency graph for derived-path.hh:
This graph shows which files directly or indirectly include this file:

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::derived_path::detail::SingleDerivedPathRaw
 
using nix::derived_path::detail::DerivedPathRaw
 
typedef std::vector< DerivedPathnix::DerivedPaths
 

Functions

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

Typedef Documentation

◆ DerivedPathRaw

using nix::derived_path::detail::DerivedPathRaw
Initial value:
std::variant<
DerivedPathOpaque,
DerivedPathBuilt
>

◆ SingleDerivedPathRaw

using nix::derived_path::detail::SingleDerivedPathRaw
Initial value:
std::variant<
DerivedPathOpaque,
SingleDerivedPathBuilt
>

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.