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

#include <derivations.hh>

Public Member Functions

 GENERATE_CMP (ContentAddressed, me->sandboxed, me->fixed)

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: