Is cachix open-source? - Nix

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Georgi Lyubenov // googleson78

As far as I can see, the cachix server is not something that is open source and I can host within my org?

Torsten Schmits

no. but the mechanism itself is built into nix, so if you would like to do that locally, just follow their instructions

Torsten Schmits

afaict the USPs of cachix are the client and compression

Georgi Lyubenov // googleson78

potentially, I would like to access the same cache from multiple pipelines and from different containers

Torsten Schmits

I think you need ssh with access to nix

Torsten Schmits

check man nix-copy-closure

Georgi Lyubenov // googleson78

cool, thanks
what instructions were you referring to in your first response?

Torsten Schmits

that would be nix serve or so

Torsten Schmits

so I guess cachix also removes the requirement of having unsafe ssh access

Sridhar Ratnakumar

that's what i do. but you are limited to linux cache.

Sridhar Ratnakumar

nix ssh involved when using nix-serve