• Stars
    star
    733
  • Rank 59,486 (Top 2 %)
  • Language
    Haskell
  • Created about 6 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Command line client for Nix binary cache hosting:

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
  pin                      Pin a store path to prevent it from being garbage
                           collected
  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

(or pkgs.cachix from 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

Support

Changelog

More Repositories

1

devenv

Fast, Declarative, Reproducible, and Composable Developer Environments
Nix
3,227
star
2

git-hooks.nix

Seamless integration of https://pre-commit.com git hooks with Nix.
Nix
434
star
3

install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Shell
418
star
4

cachix-action

Build software only once and put it in a global cache
TypeScript
209
star
5

nixpkgs-python

All Python versions, kept up-to-date on hourly basis using Nix.
Nix
106
star
6

elm2nix

Convert Elm project into Nix expressions
Haskell
105
star
7

ghcide-nix

Nix installation for ghcide
Nix
76
star
8

docs.cachix.org

Documentation for Cachix service.
Python
58
star
9

cachix-deploy-hetzner-dedicated

Bootstrap Hetzner Dedicated machines with a single command and deploy using GitHub Actions
Nix
22
star
10

stamina.hs

Retrying for humans using Haskell.
Haskell
20
star
11

haskell-release-action

Automation for releasing haskell packages
17
star
12

paddle

Haskell API for Paddle payments
Haskell
11
star
13

nixpkgs-unfree-redistributable

Nix
6
star
14

cachix-ci-agents

self-hosted github runners
Nix
6
star
15

katip-raven

Katip scribe for raven client (https://sentry.io)
Haskell
5
star
16

cachix-deploy-flake

Functions to help manage Cachix Deploy when using flakes.
Nix
5
star
17

clickhouse-haskell

Haskell
4
star
18

websockets-simple

High-level library for Client/Server websocket communication in Haskell
Haskell
3
star
19

mixpanel-client

Haskell client implementation of mixpanel HTTP api
Haskell
3
star
20

fastspring

Haskell API for https://fastspring.com/
Haskell
3
star
21

cachix-deploy-terraform

HCL
2
star
22

buildkite-example

2
star
23

travis-ci-example

Nix
2
star
24

circleci-example

Nix
2
star
25

feedback

Feedback about https://cachix.org service
2
star
26

cachix-deploy-amis

AMIs for using Cachix Deploy
HCL
1
star
27

haskell-wishlist

Things we wish Haskell had
1
star
28

cachix-deploy-aws

HCL
1
star
29

parse-range-header.js

TypeScript
1
star
30

fastcdc-rs2hs

A Haskell wrapper around fastcdc-rs.
Haskell
1
star