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

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::MixPrintJSON
template<typename T, typename = std::enable_if_t<std::is_same_v<T, nlohmann::json>>>
void printJSON (const T &json)

Additional Inherited Members

Public Types inherited from nix::Command
using Category = int
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::MixJSON
bool json = false
Public Attributes inherited from nix::MixPrintJSON
bool outputPretty = isTTY(getStandardOutput())
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::CmdFlakeMetadata::description ( )
inlineoverridevirtual

Return a short one-line description of the command.

Reimplemented from nix::Args.

◆ doc()

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

Return documentation about this command, in Markdown format.

Reimplemented from nix::Args.

◆ run()

void nix::CmdFlakeMetadata::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