Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
derived-path.hh File Reference
#include "nix/store/path.hh"
#include "nix/store/outputs-spec.hh"
#include "nix/util/configuration.hh"
#include "nix/util/ref.hh"
#include "nix/util/json-impls.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 = std::variant<DerivedPathOpaque, SingleDerivedPathBuilt>
using nix::_DerivedPathRaw = std::variant<DerivedPathOpaque, DerivedPathBuilt>
typedef std::vector< DerivedPath > nix::DerivedPaths

Functions

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

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.