mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
repl: use installables
This commit is contained in:
parent
81567a0962
commit
5640b52834
5 changed files with 48 additions and 20 deletions
|
@ -114,6 +114,7 @@ struct InstallablesCommand : virtual Args, SourceExprCommand
|
|||
InstallablesCommand();
|
||||
|
||||
void prepare() override;
|
||||
Installables load();
|
||||
|
||||
virtual bool useDefaultInstallables() { return true; }
|
||||
|
||||
|
@ -132,7 +133,6 @@ 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