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

#include <flake.hh>

Public Member Functions

SourcePath lockFilePath ()

Public Attributes

FlakeRef originalRef
FlakeRef resolvedRef
FlakeRef lockedRef
SourcePath path
bool forceDirty = false
std::optional< std::string > description
FlakeInputs inputs
fetchers::Attrs selfAttrs
ConfigFile config

Detailed Description

A flake in context

Member Data Documentation

◆ config

ConfigFile nix::flake::Flake::config

'nixConfig' attribute

◆ forceDirty

bool nix::flake::Flake::forceDirty = false

Pretend that lockedRef is dirty.

◆ lockedRef

FlakeRef nix::flake::Flake::lockedRef

the specific local store result of invoking the fetcher

◆ originalRef

FlakeRef nix::flake::Flake::originalRef

The original flake specification (by the user)

◆ path

SourcePath nix::flake::Flake::path

The path of flake.nix.

◆ resolvedRef

FlakeRef nix::flake::Flake::resolvedRef

registry references and caching resolved to the specific underlying flake

◆ selfAttrs

fetchers::Attrs nix::flake::Flake::selfAttrs

Attributes to be retroactively applied to the self input (such as submodules = true).


The documentation for this struct was generated from the following files:
  • libflake/include/nix/flake/flake.hh
  • libflake/flake.cc