From 37735a6fa7680b771e4fdd6147425bd761dd003b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Tue, 15 Nov 2022 17:54:22 +0100 Subject: [PATCH] fix post-build hook --- scripts/post-build-hook | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/post-build-hook b/scripts/post-build-hook index d976eaa..66ab7ad 100755 --- a/scripts/post-build-hook +++ b/scripts/post-build-hook @@ -1,9 +1,6 @@ #!/bin/sh set -euf export IFS=' ' -nix-store -r $DRV_PATH -for f in $DRV_PATH $OUT_PATHS; do - nix store sign --key-file $HOME/cache.key $f - nix copy --to "s3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=$HOME/cache.key&multipart-upload=true&compression=zstd&compression-level=15" $f -done +nix store sign --key-file $HOME/cache.key $DRV_PATH +nix copy --to "s3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=$HOME/cache.key&multipart-upload=true&compression=zstd&compression-level=15" $DRV_PATH