mirror of
https://github.com/NixOS/nix
synced 2025-06-27 00:11:17 +02:00
repl: allow loading installables from CLI
repl: search installable with findAlongAttrPath repl: refactor handling of args repl: temp
This commit is contained in:
parent
06d57ce759
commit
81567a0962
3 changed files with 55 additions and 38 deletions
|
@ -132,6 +132,7 @@ struct InstallableCommand : virtual Args, SourceExprCommand
|
|||
InstallableCommand(bool supportReadOnlyMode = false);
|
||||
|
||||
void prepare() override;
|
||||
std::shared_ptr<Installable> load();
|
||||
|
||||
std::optional<FlakeRef> getFlakeRefForCompletion() override
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue