forked from lix-project/lix
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
|
@ -56,8 +56,8 @@ struct CmdSearch : InstallableCommand, MixJSON
|
|||
Strings getDefaultFlakeAttrPaths() override
|
||||
{
|
||||
return {
|
||||
"packages." + settings.thisSystem.get() + ".",
|
||||
"legacyPackages." + settings.thisSystem.get() + "."
|
||||
"packages." + settings.thisSystem.get(),
|
||||
"legacyPackages." + settings.thisSystem.get()
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue