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

#include <output.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::derivation::Output::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::derivation::Output::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:
  • libstore/include/nix/store/derivation/output.hh
  • libstore/derivation/output.cc