rycee / 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 - Nix binary cache hosting: Never build software twice.

$ cachix --help
https://cachix.org command line interface

Usage: cachix [--hostname URI] [-c|--config CONFIGPATH] [-v|--verbose]
              (COMMAND | (-V|--version))

  To get started log in to https://app.cachix.org

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

Available commands:
  authtoken                Configure authentication token for communication to
                           HTTP API
  config                   Manage configuration settings for cachix
  generate-keypair         Generate signing key pair for a binary cache
  push                     Upload Nix store paths to a binary cache
  watch-exec               Run a command while it's running watch /nix/store for
                           newly added store paths and upload them to a binary
                           cache
  watch-store              Indefinitely watch /nix/store for newly added store
                           paths and upload them to a binary cache
  use                      Configure a binary cache by writing nix.conf and
                           netrc files
  deploy                   Cachix Deploy commands

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://cache.nixos.org https://cachix.cachix.org' --trusted-public-keys 'cachix.cachix.org-1:eWNHQldwUO7G2VkjpnjDbWwy4KQ/HNxht7H4SSoMckM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY='

Or with Nix 2.4+:

    $ nix profile install github:cachix/cachix/latest

Support

Changelog

About

Command line client for Nix binary cache hosting:

https://cachix.org


Languages

Language:Haskell 98.5%Language:Nix 1.5%