Disable the binary cache.
This commit is contained in:
parent
144d8fab6c
commit
b48d2b7b25
@ -59,15 +59,15 @@ in
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
# 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.substitute = lib.mkForce true;
|
||||
nix.settings.post-build-hook = pkgs.writeShellScript "post-build-hook" ''
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
set -f # disable globbing
|
||||
echo "Signing and uploading paths" $OUT_PATHS
|
||||
exec nix copy --to 'ssh://hydra' $OUT_PATHS
|
||||
'';
|
||||
# nix.settings.substituters = lib.mkForce [ "ssh://hydra?compress=true&log-fd=2&max-connections=4" ];
|
||||
# nix.settings.substitute = lib.mkForce true;
|
||||
# nix.settings.post-build-hook = pkgs.writeShellScript "post-build-hook" ''
|
||||
# set -euo pipefail
|
||||
# IFS=$'\n\t'
|
||||
# set -f # disable globbing
|
||||
# echo "Signing and uploading paths" $OUT_PATHS
|
||||
# exec nix copy --to 'ssh://hydra' $OUT_PATHS
|
||||
# '';
|
||||
nix.settings.secret-key-files = [ "/persist/manual/nix/nix-cache-key.sec" ];
|
||||
nix.settings.trusted-public-keys = lib.mkForce [
|
||||
"odo:0S/XKSFjjIrihQ7lbHEIebXk/c/xuoodhm0Gz26YhjA="
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user