Don’t expect the derivation to be present

This commit is contained in:
Charlotte 🦝 Delenk 2022-12-30 16:02:07 +01:00
parent 2a15eba44c
commit 4a00ab9bc3
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -9,8 +9,7 @@
#!/bin/sh
set -euf
export IFS=' '
${pkgs.nix}/bin/nix-store -r $DRV_PATH
for f in $DRV_PATH $OUT_PATHS; do
for f in $OUT_PATHS; do
${pkgs.nix}/bin/nix store sign --key-file ${config.sops.secrets."services/nix/cache-key".path} $f
${pkgs.nix}/bin/nix copy --to 's3://cache-chir-rs?scheme=https&endpoint=s3.us-west-000.backblazeb2.com&secret-key=${config.sops.secrets."services/nix/cache-key".path}&multipart-upload=true&compression=zstd&compression-level=15' $f
done