Fix extra "." in CmdSearch::getDefaultFlakeAttrPaths
No other getDefaultFlakeAttrPaths implementation has this trailing dot, and the dot can show up in error messages like: error: flake '...' does not provide attribute 'packages.x86_64-linux.', ...
This commit is contained in:
parent
377d5eb388
commit
6b779e4b07
1 changed files with 2 additions and 2 deletions
|
@ -56,8 +56,8 @@ struct CmdSearch : InstallableCommand, MixJSON
|
||||||
Strings getDefaultFlakeAttrPaths() override
|
Strings getDefaultFlakeAttrPaths() override
|
||||||
{
|
{
|
||||||
return {
|
return {
|
||||||
"packages." + settings.thisSystem.get() + ".",
|
"packages." + settings.thisSystem.get(),
|
||||||
"legacyPackages." + settings.thisSystem.get() + "."
|
"legacyPackages." + settings.thisSystem.get()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue