fix post-build-hook

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-15 20:56:59 +01:00
parent f11d0381e3
commit c37c4351e7
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
set -euf set -euf
export IFS=' ' export IFS=' '
nix store sign --key-file $HOME/cache.key $DRV_PATH /nix/var/nix/profiles/default/bin/nix store sign --key-file /home/runner/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 /nix/var/nix/profiles/default/bin/nix copy --to 's3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=/home/runner/cache.key&multipart-upload=true&compression=zstd&compression-level=15' $DRV_PATH