From ef80154c644e081fab3aaead9f37a42c5696e047 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 18 Sep 2019 17:35:35 +0800 Subject: [PATCH] nixbld: use store_uri for hydra Note that binary_cache_secret_key_file is actually not ignored, contrary to what the hydra warning message says. binary_cache_secret_key_file is used by the perl code, when hydra itself as acting as a binary cache (over http), but store-uri is used by the c++ code, when the queue-runner is copying artifacts into whatever the store-uri is This mess ought to be cleaned up in hydra at some point. --- nixbld-etc-nixos/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 98aa192..5367db7 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -199,6 +199,7 @@ ACTION=="add", SUBSYSTEM=="tty", \ minimumDiskFreeEvaluator = 1; extraConfig = '' + store_uri = auto?secret-key=/etc/nixos/secret/nixbld.m-labs.hk-1 binary_cache_secret_key_file = /etc/nixos/secret/nixbld.m-labs.hk-1 max_output_size = 10000000000