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

#include <full-inputs.hh>

Public Member Functions

bool operator== (const FullInputs &) const =default
std::set< SingleDerivedPath > toSet () const

Static Public Member Functions

static FullInputs fromSet (const std::set< SingleDerivedPath > &inputs)

Public Attributes

StorePathSet srcs
DerivedPathMap< std::set< OutputName, std::less<> > > drvs

Detailed Description

Inputs for full Derivation - both source and derivation inputs

This is used for parsing on-disk formats, but then we convert to a set.

Member Function Documentation

◆ fromSet()

FullInputs nix::derivation::FullInputs::fromSet ( const std::set< SingleDerivedPath > & inputs)
static

Convert from a flat set of SingleDerivedPath

◆ toSet()

std::set< SingleDerivedPath > nix::derivation::FullInputs::toSet ( ) const

Convert to a flat set of SingleDerivedPath

Member Data Documentation

◆ drvs

DerivedPathMap<std::set<OutputName, std::less<> > > nix::derivation::FullInputs::drvs

inputs that are sub-derivations

◆ srcs

StorePathSet nix::derivation::FullInputs::srcs

inputs that are sources


The documentation for this struct was generated from the following files:
  • libstore/include/nix/store/derivation/full-inputs.hh
  • libstore/derivation/full-inputs.cc