Initial Release of Nix Weather (v0.0.2) - Guix Weather... for Nix!

This is the initial released of nix-weather, a cli-tool written in Rust, that checks 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

Specifically, this solves a problem we’ve had at DBC Digital where we come back to the office on Mondays, start deploying an update, and find that all of the CUDA related packages we need haven’t hit cache yet, making deployments take much longer than if we’d just waited a bit.

So to speak, it checks if the “weather on the cache” is bad today.

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). Also, be aware that this is still a very early prototype, and is likely gonna see many breaking changes in the future.

Inspired By
38 Likes

Someone once told me that “Guix developers are not very good at achieving interoperability between different platforms, which is why they have not had an unstable channel like nixos, and have come up with something as crappy as guix-weather” and now we have nix-weather :confounded:

6 Likes