cachix: Command-line client for Nix binary cache hosting https://cachix.org

[ apache, library, nix, program ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Last Documentation]

  • Cachix
    • Cachix.Client
      • Cachix.Client.CNix
      • Cachix.Client.Command
        • Cachix.Client.Command.Cache
        • Cachix.Client.Command.Config
        • Cachix.Client.Command.Doctor
        • Cachix.Client.Command.Import
        • Cachix.Client.Command.List
        • Cachix.Client.Command.Pin
        • Cachix.Client.Command.Push
        • Cachix.Client.Command.Watch
      • Cachix.Client.Config
        • Cachix.Client.Config.Orphans
      • Cachix.Client.Env
      • Cachix.Client.Exception
      • Cachix.Client.HumanSize
      • Cachix.Client.InstallationMode
      • Cachix.Client.NetRc
      • Cachix.Client.NixConf
      • Cachix.Client.NixVersion
      • Cachix.Client.OptionsParser
      • Cachix.Client.Push
        • Cachix.Client.Push.S3
      • Cachix.Client.PushQueue
      • Cachix.Client.Retry
      • Cachix.Client.Secrets
      • Cachix.Client.Servant
      • Cachix.Client.Terminal
      • Cachix.Client.URI
      • Cachix.Client.Version
      • Cachix.Client.WatchStore
    • Cachix.Daemon
      • Cachix.Daemon.Client
      • Cachix.Daemon.EventLoop
      • Cachix.Daemon.Listen
      • Cachix.Daemon.Log
      • Cachix.Daemon.NarinfoQuery
      • Cachix.Daemon.PostBuildHook
      • Cachix.Daemon.Progress
      • Cachix.Daemon.Protocol
      • Cachix.Daemon.Push
      • Cachix.Daemon.PushManager
        • Cachix.Daemon.PushManager.PushJob
      • Cachix.Daemon.ShutdownLatch
      • Cachix.Daemon.SocketStore
      • Cachix.Daemon.Subscription
      • Cachix.Daemon.TTLCache
      • Cachix.Daemon.TaskQueue
      • Cachix.Daemon.Types
        • Cachix.Daemon.Types.Daemon
        • Cachix.Daemon.Types.Error
        • Cachix.Daemon.Types.EventLoop
        • Cachix.Daemon.Types.Log
        • Cachix.Daemon.Types.PushEvent
        • Cachix.Daemon.Types.PushManager
        • Cachix.Daemon.Types.SocketStore
        • Cachix.Daemon.Types.TaskQueue
      • Cachix.Daemon.Worker
    • Deploy
      • Cachix.Deploy.Activate
      • Cachix.Deploy.ActivateCommand
      • Cachix.Deploy.Agent
      • Cachix.Deploy.Deployment
      • Cachix.Deploy.Lock
      • Cachix.Deploy.Log
      • Cachix.Deploy.OptionsParser
      • Cachix.Deploy.StdinProcess
      • Cachix.Deploy.Websocket
      • Cachix.Deploy.WebsocketPong
  • Data
    • Conduit
      • Data.Conduit.ByteString

Flags

Automatic Flags
NameDescriptionDefault
ram

Use ram instead of memory for Data.ByteArray, matching crypton >= 1.1. The solver picks this automatically.

Enabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.5.0, 0.5.1, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.8.0, 0.8.1, 1.0.0, 1.0.1, 1.1, 1.2, 1.3, 1.3.1, 1.3.2, 1.3.3, 1.4, 1.4.1, 1.4.2, 1.5, 1.6, 1.6.1, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, 1.8.0, 1.9.0, 1.9.1, 1.9.2, 1.10.0, 1.11.0, 1.11.1, 1.12.0, 1.12.1, 1.13.0, 1.14.0, 1.15.0
Change log CHANGELOG.md
Dependencies aeson, amazonka (>=2.0), amazonka-core (>=2.0), amazonka-s3 (>=2.0), ascii-progress, async, attoparsec, base (>=4.7 && <5), base64-bytestring, bytestring, cachix, cachix-api, concurrent-extra, conduit (>=1.3.0), conduit-concurrent-map, conduit-extra, conduit-zstd, containers, crypton, deepseq, dhall (>=1.28.0), directory, ed25519, either, exceptions, extra, filepath, fsnotify (>=0.4.1), generic-lens, hercules-ci-cnix-store (>=0.4), here, hnix-store-core (>=0.8), hnix-store-nar, http-client, http-client-tls, http-conduit, http-media, http-types, immortal, inline-c-cpp, katip, lukko, lzma-conduit, megaparsec (>=7.0.0), memory, microlens, netrc, network, nix-narinfo, optparse-applicative, pqueue, pretty-terminal, prettyprinter, process, protolude, ram, resourcet, retry, safe-exceptions, servant (>=0.16), servant-auth, servant-auth-client (>=0.3.3.0), servant-client (>=0.16), servant-conduit, stm, stm-chans, stm-conduit, systemd, temporary, text, time, transformers, unix, unliftio, unliftio-core, unordered-containers, uri-bytestring, uuid, vector, versions, websockets, wuss [details]
License Apache-2.0
Copyright 2018 Domen Kozar
Author Domen Kozar
Maintainer domen@cachix.org
Uploaded by domenkozar at 2026-11-16T20:58:50Z
Category Nix
Home page https://github.com/cachix/cachix#readme
Bug tracker https://github.com/cachix/cachix/issues
Source repo head: git clone https://github.com/cachix/cachix(cachix)
Distributions
Executables .cachix-deployment, cachix
Downloads 11899 total (258 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2026-11-16 [all 2 reports]

Readme for cachix-1.15.0

[back to package description]

https://github.com/cachix/cachix/blob/master/README.md

Pin information

Get a pin's metadata and latest revision:

cachix pins get mycache 'mypin:1.0.0'
cachix pins get mycache 'mypin:1.0.0' --json

The JSON output contains the pin name, creation time, retention policy, and lastRevision. The latest revision includes its store path, revision number, creation time, artifacts, and orphaned status. An orphaned revision has no store path metadata in the cache. Its store path lacks the name suffix and its artifact links are unavailable.

Pin names are literal: a colon does not select a revision. Public caches allow anonymous reads. Private caches require an authentication token with read access. A missing pin produces a nonzero exit status.

The command uses the existing pin listing API and selects the exact pin name locally. It does not require a server upgrade.