Build Nix packages once and share them for good.

Get Started

Why?

If a project build takes 15 minutes, why build it three times and waste your time? With Cachix you can share the binaries once it's built once.

  • You build your software project on your laptop during development.
  • Your Continuous Integration builds the project again to verify there are no mistakes.
  • Users of your project build it again to use or deploy it.

This will also greatly reduce your CI build times by rebuilding only what has changed.

How?

Nix builds a package in isolation from your system. This ensures that build process is reproducible and doesn’t have undeclared dependencies, so if a package is built on one machine, it will build identically on another machine.

Nix also hashes the inputs before building a package. By querying Cachix with the hash, it's possible to download the binary identified by the hash as a replacement for the build process.

What?

Hosted binary caches allows you to create your own binary caches within seconds after you've signed-in.

Upload binaries to your cache with a simple command:

$ nix-build | cachix push <name>

While users of your cache can configure Nix without fiddling with config files:

$ cachix use <name>

Features

Free for Open Source

Hook up your favourite Continuous Integration for public projects.

Secure

Signing key is never revealed to Cachix, as cli signs packages locally on your machine.

Fast & Robust

Built with Haskell and Elm, querying binary cache takes ~20 milliseconds.

Zero hassle

Having a binary cache is just a few commands away.

Pricing

Get Started

FAQ

Why Nix?

Read further.

How does Cachix differ from https://cache.nixos.org?

The official nixpkgs binary cache at cache.nixos.org serves all built packages from nixpkgs github repository. While in most cases it's reasonable to upstream packages to nixpkgs, there are also many cases when that's not feasible. Cachix allows decentralized version management while still benefiting a binary cache.

Made by

I've started using Nix in 2012 and after years of many contributions in free time, started using Nix exclusively in 2016 packaging up OpenStack and functional testing a cluster with scenarios.

In 2016 I've founded Enlambda consulting which helped many clients like Snabb and IOHK to adopt Nix as a way to solve interesting complex software distribution problems in our industry.

Domen Kožar

Creator