lazamar / cachix

Command line client for Nix binary cache hosting:

Home Page:https://cachix.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test Hackage

Cachix - Hosted Nix binary caches: Build Nix packages once and share them for good

CLI interface

$ cachix --help
cachix.org command interface

Usage: cachix [--host URI] [-c|--config CONFIGPATH] [-v|--verbose] (COMMAND |
              (-V|--version))
  Sign into https://cachix.org to get started.

Available options:
  -h,--help                Show this help text
  --host URI               Host to connect to (default: https://cachix.org)
  -c,--config CONFIGPATH   Cachix configuration
                           file (default: "~/.config/cachix/cachix.dhall")
  -v,--verbose             Verbose mode
  -V,--version             Show cachix version

Available commands:
  authtoken                Configure token for authentication to cachix.org
  generate-keypair         Generate keypair for a binary cache
  push                     Upload Nix store paths to the binary cache
  use                      Configure nix.conf to enable binary cache during
                           builds

Installation

  1. Install Cachix client using Nix:
    $ nix-env -iA cachix -f https://cachix.org/api/v1/install
  1. Login via https://www.cachix.org/api/v1/login to start using the service

Development

Install Cachix from master:

    $ nix-env -if https://github.com/cachix/cachix/tarball/master --substituters https://cachix.cachix.org --trusted-public-keys cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM=

Support

Changelog

About

Command line client for Nix binary cache hosting:

https://cachix.org


Languages

Language:Haskell 95.1%Language:Nix 4.6%Language:C++ 0.3%