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

#include <derivation-builder.hh>

Inheritance diagram for nix::DerivationBuilderParams:
nix::DerivationBuilderImpl nix::UnixDerivationBuilderImpl nix::ChrootDerivationBuilder nix::DarwinDerivationBuilder nix::FreeBSDDerivationBuilder nix::LinuxDerivationBuilder nix::ChrootFreeBSDDerivationBuilder nix::ChrootLinuxDerivationBuilder nix::ChrootFreeBSDDerivationBuilder nix::ChrootLinuxDerivationBuilder

Public Attributes

const StorePath & drvPath
BuildResult & buildResult
const BasicDerivation & drv
const DerivationOptions< StorePath > & drvOptions
const StorePathSet & inputPaths
const std::map< std::string, InitialOutput > initialOutputs
const BuildMode & buildMode
PathsInChroot defaultPathsInChroot
StringSet systemFeatures
DesugaredEnv desugaredEnv

Detailed Description

Parameters by (mostly) const reference for DerivationBuilder.

Member Data Documentation

◆ defaultPathsInChroot

PathsInChroot nix::DerivationBuilderParams::defaultPathsInChroot

Extra paths we want to be in the chroot, regardless of the derivation we are building.

◆ drv

const BasicDerivation& nix::DerivationBuilderParams::drv

The derivation stored at drvPath.

◆ drvOptions

const DerivationOptions<StorePath>& nix::DerivationBuilderParams::drvOptions

The derivation options of drv.

Todo
this should be part of Derivation.

◆ drvPath

const StorePath& nix::DerivationBuilderParams::drvPath

The path of the derivation.

◆ inputPaths

const StorePathSet& nix::DerivationBuilderParams::inputPaths

All input paths (that is, the union of FS closures of the immediate input paths).

◆ systemFeatures

StringSet nix::DerivationBuilderParams::systemFeatures

May be used to control various platform-specific functionality.

For example, on Linux, the kvm system feature controls whether /dev/kvm should be exposed to the builder within the sandbox.


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