# let candidates = (open ${config.programs.command-not-found.dbPath} | query db $"select package from Programs where system = '${pkgs.system}' and name = '($cmdname)'")
# if ($candidates | is-empty) {
# return null
# }
# let packages = ($candidates | each {|pkg| $"\tnix-shell -p ($pkg.package)" } | str join "\n")
# let multiple = if ($candidates | length) > 1 { " one of the following" } else { "" }
# (
# $"The program (ansi $env.config.color_config.shape_external)($cmdname)(ansi reset) " +
# $"is not in your PATH. You can make it available in an ephemeral shell by typing($multiple):\n" +