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

#include <derivations.hh>

Public Member Functions

StorePath path (const StoreDirConfig &store, std::string_view drvName, OutputNameView outputName) const
 
bool operator== (const CAFixed &) const =default
 
auto operator<=> (const CAFixed &) const =default
 

Public Attributes

ContentAddress ca
 

Detailed Description

Fixed-output derivations, whose output paths are content addressed according to that fixed output.

Member Function Documentation

◆ path()

StorePath nix::DerivationOutput::CAFixed::path ( const StoreDirConfig & store,
std::string_view drvName,
OutputNameView outputName ) const

Return the store path corresponding to this output

Parameters
drvNameThe name of the derivation this is an output of, without the .drv.
outputNameThe name of this output.

Member Data Documentation

◆ ca

ContentAddress nix::DerivationOutput::CAFixed::ca

Method and hash used for expected hash computation.

References are not allowed by fiat.


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