Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::CmdFlakeCheck Struct Reference
Inheritance diagram for nix::CmdFlakeCheck:
nix::FlakeCommand nix::MixPrintOutPaths nix::MixOutLinkBase nix::Args nix::MixFlakeOptions nix::Args nix::Args nix::Args nix::EvalCommand nix::StoreCommand nix::MixEvalArgs nix::StoreConfigCommand nix::Args nix::MixRepair nix::Command nix::Args nix::Args

Public Member Functions

std::string description () override
std::string doc () override
void run (nix::ref< nix::Store > store) override
Public Member Functions inherited from nix::FlakeCommand
FlakeRef getFlakeRef ()
flake::LockedFlake lockFlake ()
std::vector< FlakeRef > getFlakeRefsForCompletion () override
Public Member Functions inherited from nix::EvalCommand
ref< Store > getEvalStore ()
ref< EvalState > getEvalState ()
Public Member Functions inherited from nix::StoreCommand
void run (ref< StoreConfig >) override
ref< Store > getStore ()
ref< Store > createStore ()
Public Member Functions inherited from nix::StoreConfigCommand
void run () override
ref< StoreConfig > getStoreConfig ()
virtual ref< StoreConfig > createStoreConfig ()
Public Member Functions inherited from nix::Command
virtual std::optional< ExperimentalFeature > experimentalFeature ()
virtual Category category ()
Public Member Functions inherited from nix::MixEvalArgs
const Bindings * getAutoArgs (EvalState &state)
Public Member Functions inherited from nix::MixPrintOutPaths
void printOutPathsMaybe (const BuiltPaths &paths, ref< Store > store)
Public Member Functions inherited from nix::MixOutLinkBase
 MixOutLinkBase (const std::optional< std::filesystem::path > &defaultOutLink)
void createOutLinksMaybe (const BuiltPaths &paths, ref< Store > &store)
void createOutLinksMaybe (const std::vector< BuiltPathWithResult > &buildables, ref< Store > &store)

Public Attributes

bool build = true
bool checkAllSystems = false
Public Attributes inherited from nix::MixFlakeOptions
flake::LockFlags lockFlags
Public Attributes inherited from nix::EvalCommand
bool startReplOnEvalErrors = false
bool ignoreExceptionsDuringTry = false
Public Attributes inherited from nix::MixEvalArgs
LookupPath lookupPath
std::optional< StoreReference > evalStoreUrl
Public Attributes inherited from nix::MixRepair
RepairFlag repair = NoRepair
Public Attributes inherited from nix::MixPrintOutPaths
bool printOutputPaths = false
Public Attributes inherited from nix::MixOutLinkBase
std::optional< std::filesystem::path > outLink = std::nullopt

Additional Inherited Members

Public Types inherited from nix::Command
using Category = int
Static Public Attributes inherited from nix::Command
static constexpr Category catDefault = 0
Static Public Attributes inherited from nix::MixEvalArgs
static constexpr auto category = "Common evaluation options"
Protected Attributes inherited from nix::FlakeCommand
std::string flakeUrl = "."

Member Function Documentation

◆ description()

std::string nix::CmdFlakeCheck::description ( )
inlineoverridevirtual

Return a short one-line description of the command.

Reimplemented from nix::Args.

◆ doc()

std::string nix::CmdFlakeCheck::doc ( )
inlineoverridevirtual

Return documentation about this command, in Markdown format.

Reimplemented from nix::Args.

◆ run()

void nix::CmdFlakeCheck::run ( nix::ref< nix::Store > store)
inlineoverridevirtual

Main entry point, with a Store provided

Implements nix::StoreCommand.


The documentation for this struct was generated from the following file:
  • nix/flake.cc