Binary Cache: Difference between revisions

imported>Chance
Add warning that invalid binary cache public keys may prevent system rebuild
imported>Xav-ie
m I spent the better part of three hours not knowing why my cache settings were not working until I someone helped me and pointed out that caches are nomally only made by release.
Line 2: Line 2:


A binary cache builds Nix packages and caches the result for other machines. Any machine with Nix installed can be a binary cache for another one, no matter the operating system.
A binary cache builds Nix packages and caches the result for other machines. Any machine with Nix installed can be a binary cache for another one, no matter the operating system.
If you are facing problems with derivations not being in a cache, try switching to a release version. Most caches will have many derivations for a specific release.


== Setting up a binary cache ==
== Setting up a binary cache ==