Disable the binary cache.

This commit is contained in:
Tom Alexander 2025-11-30 14:16:48 -05:00
parent 144d8fab6c
commit b48d2b7b25
Signed by: talexander
GPG Key ID: 36C99E8B3C39D85F

View File

@ -59,15 +59,15 @@ in
nix.distributedBuilds = true; nix.distributedBuilds = true;
# https://nix.dev/manual/nix/2.32/store/types/ssh-store.html # https://nix.dev/manual/nix/2.32/store/types/ssh-store.html
nix.settings.substituters = lib.mkForce [ "ssh://hydra?compress=true&log-fd=2&max-connections=4" ]; # nix.settings.substituters = lib.mkForce [ "ssh://hydra?compress=true&log-fd=2&max-connections=4" ];
nix.settings.substitute = lib.mkForce true; # nix.settings.substitute = lib.mkForce true;
nix.settings.post-build-hook = pkgs.writeShellScript "post-build-hook" '' # nix.settings.post-build-hook = pkgs.writeShellScript "post-build-hook" ''
set -euo pipefail # set -euo pipefail
IFS=$'\n\t' # IFS=$'\n\t'
set -f # disable globbing # set -f # disable globbing
echo "Signing and uploading paths" $OUT_PATHS # echo "Signing and uploading paths" $OUT_PATHS
exec nix copy --to 'ssh://hydra' $OUT_PATHS # exec nix copy --to 'ssh://hydra' $OUT_PATHS
''; # '';
nix.settings.secret-key-files = [ "/persist/manual/nix/nix-cache-key.sec" ]; nix.settings.secret-key-files = [ "/persist/manual/nix/nix-cache-key.sec" ];
nix.settings.trusted-public-keys = lib.mkForce [ nix.settings.trusted-public-keys = lib.mkForce [
"odo:0S/XKSFjjIrihQ7lbHEIebXk/c/xuoodhm0Gz26YhjA=" "odo:0S/XKSFjjIrihQ7lbHEIebXk/c/xuoodhm0Gz26YhjA="