lix/src/libcmd
dramforever b26562c629 InstallableFlake: Handle missing attr in getCursors
Handle the case where none of getActualAttrPaths() actually exists,
in which case instead of returning an empty vector.

This fixes the case where the user misspells the attribute name in nix
search. Instead of getting no search results, now it shows an error with
suggestions.

Also remove InstallableFlake::getCursor() override since it's now
equivalent to the base class version.
2023-01-30 23:59:09 +08:00
..
command.cc Improve --profile description 2022-10-24 08:49:46 +02:00
command.hh Merge pull request #6693 from ncfavier/complete-flake-inputs 2022-07-12 09:12:00 +02:00
common-eval-args.cc doc/manual: Introduce @docroot@ as a stable base for includable snippets 2023-01-10 22:30:41 +01:00
common-eval-args.hh Move some options into a misc category 2022-10-12 15:09:17 +02:00
installables.cc InstallableFlake: Handle missing attr in getCursors 2023-01-30 23:59:09 +08:00
installables.hh InstallableFlake: Handle missing attr in getCursors 2023-01-30 23:59:09 +08:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk build: use pkg-config for lowdown 2022-11-12 23:04:58 +01:00
markdown.cc do not render relative links in help pages 2022-08-26 17:10:41 +02:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
repl.cc Fix unreachable error message 2023-01-20 13:01:03 +01:00