Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::BasicDerivation Struct Reference
Inheritance diagram for nix::BasicDerivation:
[legend]
Collaboration diagram for nix::BasicDerivation:
[legend]

Public Member Functions

bool isBuiltin () const
 
DerivationType type () const
 
StringSet outputNames () const
 
DerivationOutputsAndOptPaths outputsAndOptPaths (const Store &store) const
 
 GENERATE_CMP (BasicDerivation, me->outputs, me->inputSrcs, me->platform, me->builder, me->args, me->env, me->name)
 

Static Public Member Functions

static std::string_view nameFromPath (const StorePath &storePath)
 

Public Attributes

DerivationOutputs outputs
 
StorePathSet inputSrcs
 
std::string platform
 
Path builder
 
Strings args
 
StringPairs env
 
std::string name
 

Member Function Documentation

◆ outputNames()

StringSet nix::BasicDerivation::outputNames ( ) const

Return the output names of a derivation.

◆ outputsAndOptPaths()

DerivationOutputsAndOptPaths nix::BasicDerivation::outputsAndOptPaths ( const Store & store) const

Calculates the maps that contains all the DerivationOutputs, but augmented with knowledge of the Store paths they would be written into.

◆ type()

DerivationType nix::BasicDerivation::type ( ) const

Return true iff this is a fixed-output derivation.

Member Data Documentation

◆ inputSrcs

StorePathSet nix::BasicDerivation::inputSrcs

inputs that are sources

◆ outputs

DerivationOutputs nix::BasicDerivation::outputs

keyed on symbolic IDs


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