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

#include <derivations.hh>

Public Types

enum struct  Kind : bool { Regular , Deferred }
 

Public Attributes

std::map< std::string, Hashhashes
 
Kind kind
 

Detailed Description

The hashes modulo of a derivation.

Each output is given a hash, although in practice only the content-addressed derivations (fixed-output or not) will have a different hash for each output.

Member Enumeration Documentation

◆ Kind

enum struct nix::DrvHash::Kind : bool
strong
Enumerator
Regular 

Statically determined derivations. This hash will be directly used to compute the output paths

Deferred 

Floating-output derivations (and their reverse dependencies).

Member Data Documentation

◆ hashes

std::map<std::string, Hash> nix::DrvHash::hashes

Map from output names to hashes

◆ kind

Kind nix::DrvHash::kind

The kind of derivation this is, simplified for just "derivation hash modulo" purposes.


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