Skip to content

Instantly share code, notes, and snippets.

@monadplus
Created January 17, 2020 09:10
Show Gist options
  • Save monadplus/50edd037f6d0680c9eacde0262a0c567 to your computer and use it in GitHub Desktop.
Save monadplus/50edd037f6d0680c9eacde0262a0c567 to your computer and use it in GitHub Desktop.
Cachix: how to

Cachix

User

Add the cache:

$ cachix use monadplus

Next nix-build will use it.

Owner

Set up:

$ cachix authtoken $token (get one from your account https://cachix.org/)
$ cachix generate-keypair monadplus

Push new binaries:

$ nix-build | cachix push monadplus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment