Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
CmdFlakeClone Struct Reference
Inheritance diagram for CmdFlakeClone:
FlakeCommand nix::Args nix::MixFlakeOptions nix::Args nix::EvalCommand nix::StoreCommand nix::MixEvalArgs nix::Command nix::Args nix::MixRepair 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 FlakeCommand
FlakeRef getFlakeRef ()
 
LockedFlake lockFlake ()
 
std::vector< FlakeRef > getFlakeRefsForCompletion () override
 
- Public Member Functions inherited from nix::EvalCommand
ref< StoregetEvalStore ()
 
ref< EvalStategetEvalState ()
 
- Public Member Functions inherited from nix::StoreCommand
void run () override
 
ref< StoregetStore ()
 
virtual ref< StoregetDstStore ()
 
virtual ref< StorecreateStore ()
 
- Public Member Functions inherited from nix::Command
virtual std::optional< ExperimentalFeatureexperimentalFeature ()
 
virtual Category category ()
 
- Public Member Functions inherited from nix::MixEvalArgs
BindingsgetAutoArgs (EvalState &state)
 

Public Attributes

Path destDir
 
- 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< std::string > evalStoreUrl
 
- Public Attributes inherited from nix::MixRepair
RepairFlag repair = NoRepair
 

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 FlakeCommand
std::string flakeUrl = "."
 

Member Function Documentation

◆ description()

std::string CmdFlakeClone::description ( )
inlineoverridevirtual

Return a short one-line description of the command.

Reimplemented from nix::Args.

◆ doc()

std::string CmdFlakeClone::doc ( )
inlineoverridevirtual

Return documentation about this command, in Markdown format.

Reimplemented from nix::Args.

◆ run()

void CmdFlakeClone::run ( nix::ref< nix::Store > )
inlineoverridevirtual

Main entry point, with a Store provided

Implements nix::StoreCommand.


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