From a1bcc25c83a1812be31763ce1b4d84f3a05f37d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Thu, 3 Mar 2022 19:41:23 +0100 Subject: [PATCH] enable multipart upload? --- config/services/nix-cache-upload.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/services/nix-cache-upload.nix b/config/services/nix-cache-upload.nix index 6de0345e..b9060f17 100644 --- a/config/services/nix-cache-upload.nix +++ b/config/services/nix-cache-upload.nix @@ -8,7 +8,7 @@ in script = '' #!${pkgs.bash}/bin/bash ${pkgs.nix}/bin/nix store sign --key-file /root/cache-priv-key.pem --all - ${pkgs.nix}/bin/nix copy --to 's3://nix-cache?scheme=https&endpoint=cache.int.chir.rs' --all + ${pkgs.nix}/bin/nix copy --to 's3://nix-cache?scheme=https&endpoint=cache.int.chir.rs&multipart-upload=true' --all ${pkgs.minio-client}/bin/mc rm -r --older-than 7d nix-cache/nix-cache ''; };