forked from lix-project/lix
Apply suggestions from code review
Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
parent
1ca3f6035d
commit
9f8c1183fa
|
@ -896,11 +896,12 @@ struct CmdRepl : InstallablesCommand
|
||||||
evalSettings.pureEval = false;
|
evalSettings.pureEval = false;
|
||||||
}
|
}
|
||||||
std::vector<std::string> files;
|
std::vector<std::string> files;
|
||||||
Strings getDefaultFlakeAttrPaths()
|
Strings getDefaultFlakeAttrPaths() override
|
||||||
override {
|
{
|
||||||
return {""};
|
return {""};
|
||||||
}
|
}
|
||||||
virtual bool useDefaultInstallables() {
|
virtual bool useDefaultInstallables() override
|
||||||
|
{
|
||||||
return file.has_value() or expr.has_value();
|
return file.has_value() or expr.has_value();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue