enable multipart upload?

This commit is contained in:
Charlotte 🦝 Delenk 2022-03-03 19:41:23 +01:00
parent a1ea4db55d
commit a1bcc25c83
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -8,7 +8,7 @@ in
script = '' script = ''
#!${pkgs.bash}/bin/bash #!${pkgs.bash}/bin/bash
${pkgs.nix}/bin/nix store sign --key-file /root/cache-priv-key.pem --all ${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 ${pkgs.minio-client}/bin/mc rm -r --older-than 7d nix-cache/nix-cache
''; '';
}; };