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

#include <derivations.hh>

Public Member Functions

bool operator== (const ContentAddressed &) const =default
 
auto operator<=> (const ContentAddressed &) const =default
 

Public Attributes

bool sandboxed
 
bool fixed
 

Detailed Description

Content-addressed derivation types

Member Data Documentation

◆ fixed

bool nix::DerivationType::ContentAddressed::fixed

Whether the derivation's outputs' content-addresses are "fixed" or "floating".

  • Fixed: content-addresses are written down as part of the derivation itself. If the outputs don't end up matching the build fails.
  • Floating: content-addresses are not written down, we do not know them until we perform the build.

◆ sandboxed

bool nix::DerivationType::ContentAddressed::sandboxed

Whether the derivation should be built safely inside a sandbox.


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