Re:The Nixpkgs core team has disbanded
by alright2565 on Saturday August 08, 2026 @09:00AM
(#49221484)
Or my personal favorite, just an s3 bucket. In your CI's nix.conf:
post-build-hook = .../upload-to-cache.sh
upload-to-cache.sh: #!/usr/bin/env bash
set -euo pipefail
set -f
export IFS=' '
exec "${NIX_CACHE_NIX_BIN:-nix}" copy --extra-experimental-features nix-command \
--to "s3://my-cache-bucket?region=us-east-1" $OUT_PATHS
Set up environment variables as necessary for auth.
With multiple types of machines involved, you want some sort of binary cache setup, ideally automated with CI. There's niks3 [0], celler [1] (a more active fork of attic [2]), hydra [3].
0: https://github.com/Mic92/niks3
1: https://github.com/celler-cache/celler
2: https://github.com/zhaofengli/attic
3: https://github.com/NixOS/hydra