[M8] wrapper: substituters + trusted-public-keys for cargoxx-pkgs cache

This commit is contained in:
2026-05-18 20:27:50 +00:00
parent f9932a3ad9
commit 9d33379f94

View File

@@ -27,10 +27,15 @@
# Defaults applied to the bundled `nix` so it works on hosts # Defaults applied to the bundled `nix` so it works on hosts
# that don't already have nix set up (Arch/Debian/Fedora users # that don't already have nix set up (Arch/Debian/Fedora users
# who install our .pkg.tar.zst / .deb / .rpm). Multi-user mode # who install our .pkg.tar.zst / .deb / .rpm). Multi-user mode
# would expect a `nixbld` group and a running daemon # would expect a `nixbld` group and a running daemon.
# `substituters` includes the cargoxx-pkgs binary cache so
# `cargoxx add <pkg>` substitutes prebuilt $out instead of
# rebuilding each registry package locally.
cargoxxNixConfig = '' cargoxxNixConfig = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
build-users-group = build-users-group =
substituters = https://cache.cargoxx.amadey.xyz https://cache.nixos.org
trusted-public-keys = cache.cargoxx.amadey.xyz:HQNcKDh9lufWm0M32a06AEiLf1Hr0WoRY3Bp5NnWZxs= cache.nixos.org:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
''; '';
cargoxx-bin = pkgs.gcc15Stdenv.mkDerivation { cargoxx-bin = pkgs.gcc15Stdenv.mkDerivation {