Apply suggestions from code review

Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com>
This commit is contained in:
tomberek
2022-05-18 21:21:58 -04:00
committed by Tom Bereknyei
co-authored by Théophane Hufschmitt
parent 1ca3f6035d
commit 9f8c1183fa
+4 -3
View File
@@ -896,11 +896,12 @@ struct CmdRepl : InstallablesCommand
evalSettings.pureEval = false;
}
std::vector<std::string> files;
Strings getDefaultFlakeAttrPaths()
override {
Strings getDefaultFlakeAttrPaths() override
{
return {""};
}
virtual bool useDefaultInstallables() {
virtual bool useDefaultInstallables() override
{
return file.has_value() or expr.has_value();
}