Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::DrvOutput Struct Reference

#include <realisation.hh>

Public Member Functions

std::string to_string () const
std::string strHash () const
 GENERATE_CMP (DrvOutput, me->drvHash, me->outputName)

Static Public Member Functions

static DrvOutput parse (const std::string &)

Public Attributes

Hash drvHash
OutputName outputName

Detailed Description

A general Realisation key.

This is similar to a DerivedPath::Opaque, but the derivation is identified by its "hash modulo" instead of by its store path.

Member Data Documentation

◆ drvHash

Hash nix::DrvOutput::drvHash

The hash modulo of the derivation.

Computed from the derivation itself for most types of derivations, but computed from the (fixed) content address of the output for fixed-output derivations.

◆ outputName

OutputName nix::DrvOutput::outputName

The name of the output.


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