fix post-build hook
This commit is contained in:
parent
64a6f237d0
commit
37735a6fa7
1 changed files with 2 additions and 5 deletions
|
@ -1,9 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -euf
|
set -euf
|
||||||
export IFS=' '
|
export IFS=' '
|
||||||
nix-store -r $DRV_PATH
|
nix store sign --key-file $HOME/cache.key $DRV_PATH
|
||||||
for f in $DRV_PATH $OUT_PATHS; do
|
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 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
|
|
||||||
|
|
||||||
|
|
Reference in a new issue