![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
| 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 () |
| virtual void | run (ref< Store >)=0 |
| 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) |
Protected Attributes | |
| std::string | flakeUrl = "." |
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 |
| 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" |
|
overridevirtual |
The completion for some of these flags depends on the flake(s) in question.
This method should be implemented to gather all flakerefs the command is operating with (presumably specified via some other arguments) so that the completions for these flags can use them.
Reimplemented from nix::MixFlakeOptions.