Just released nix-weather, a #rust cli-tool to check how many of your NixOS system’s build dependencies are in a binary cache.
$ nix-weather -n myhost -c /etc/config/
Found Nix Requisites in 8 seconds
Checked 2789 packages in 1 seconds
Found 2676/2789 (95.95%) in cache
This is useful to e.g. “check the weather” before going for an update. If the dependencies you want still haven’t been cached, it can be useful to know you can postpone an update to a later day when the weather is better on the cache.
Feel free to try it out from the GitHub mirror (it’s likely faster than my forgejo instance, and I’d appreciate saving the bandwidth).
https://github.com/cafkafk/nix-weather/releases/tag/v0.0.2
#nix #nixos