diable !nix search

And there goes another one.
They seem to have removed the giant public json file,
and their current web search downloads a much smaller
(although still irresponsibly large at 2.6 MiB)
file with a very cryptic URL pattern and uses that instead.
Since the new URL contains some random numbers (probably a timestamp +
commit hash), I can’t reasonably use it to query packages.
This commit is contained in:
kageru 2020-04-23 23:50:00 +02:00
parent fa799fdd38
commit f4840462f8
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

View File

@ -72,7 +72,8 @@ lazy_static! {
let mut command_list = Vec::new();
command_list.push(Command::new("pacman", pacman::query_pacman));
command_list.push(Command::new("apt", apt::query_apt));
command_list.push(Command::new("nix", nix::query_nix));
// disabled because they seem to no longer have stable json urls
// command_list.push(Command::new("nix", nix::query_nix));
command_list.push(Command::new("dnf", dnf::query_dnf));
command_list.push(Command::new("aur", aur::query_aur));
command_list.push(Command::new("xbps", xbps::query_xbps));