Skip to content

How to use cache.nixos.org? #68

Open
@srid

Description

For every new repo I add, I see that HCI is building the entire world of dependencies; and this happens fairly all the time given that each repo pins a different nixpkgs. Is there a particular reason it is not pulling them from cache.nixos.org?

Perhaps it uses exactly the caches specified in binary-caches.json (I have one; my nix-server server where drvs are pushed to). Can this file also contain read-only caches like official cache (ie., caches which should not be pushed to)?

It would be nice to document this under FAQ or somewhere. I'd rather avoid this world-building and re-use from official cache.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions