[Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candidates https://github.com/cachix/cachix/blob/master/README.md


Keywords
library, nix, Propose Tags, Skip to Readme, , Index, Quick Jump, Cachix.API, Cachix.API.Deploy.V1, Cachix.API.Deploy.V2, Cachix.API.Error, Cachix.API.Signing, Cachix.API.WebSocketSubprotocol, Cachix.Types.BinaryCache, Cachix.Types.ByteStringStreaming, Cachix.Types.ContentTypes, Cachix.Types.Deploy, Cachix.Types.DeployResponse, Cachix.Types.DeployResponse.V1, Cachix.Types.DeployResponse.V2, Cachix.Types.Deployment, Cachix.Types.MultipartUpload, Cachix.Types.NarFileName, Cachix.Types.NarInfo, Cachix.Types.NarInfoCreate, Cachix.Types.NarInfoHash, Cachix.Types.NixCacheInfo, Cachix.Types.Permission, Cachix.Types.PinCreate, Cachix.Types.Servant, Cachix.Types.Session, Cachix.Types.SigningKeyCreate, cachix-api-1.7.2.tar.gz, browse, Package description, Package maintainers, domenkozar, edit package information , https://github.com/cachix/cachix/blob/master/README.md, dhall, haskell, nixos, servant
License
Apache-2.0
Install
cabal install cachix-api-1.7.2

Documentation

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]
              (-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 an authentication token for Cachix
  config                   Manage configuration settings for cachix
  daemon                   Run a daemon that listens to push requests over a
                           unix socket
  generate-keypair         Generate a signing key pair for a binary cache
  push                     Upload Nix store paths to a binary cache
  import                   Import the contents of a binary cache from an
                           S3-compatible object storage service into Cachix,
                           e.g. s3://localhost:9000/mybucket
  pin                      Pin a store path to prevent it from being garbage
                           collected
  watch-exec               Run a command while watching /nix/store for newly
                           added store paths and upload them to a binary cache
  watch-store              Watch /nix/store for newly added store paths and
                           upload them to a binary cache
  use                      Configure a binary cache in nix.conf
  remove                   Remove a binary cache from nix.conf
  deploy                   Manage remote Nix-based systems with Cachix Deploy

Installation

  1. Install the Cachix client using Nix:
nix-env -iA cachix -f https://cachix.org/api/v1/install

Also available as pkgs.cachix in nixpkgs.

  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 --accept-flake-config

Support

Changelog