head doesn’t actually work

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-17 21:25:32 +01:00 committed by Charlotte
parent 4e69cb009b
commit f3a40f58f4

View file

@ -85,7 +85,7 @@ jobs:
OUT_PATH=$(nix show-derivation $DRV_PATH | jq -r ".\"$DRV_PATH\".outputs.out.path")
# check if we already built it
NARINFO=$(echo $OUT_PATH | sed 's|/| |g' | sed 's|-| |g' | awk '{print $3}')
if curl --output /dev/null --silent --head --fail "https://cache.chir.rs/$NARINFO.narinfo"; then
if curl --output /dev/null --silent --fail "https://cache.chir.rs/$NARINFO.narinfo"; then
echo "${{ matrix.package }} already built. Skipping"
else
nix-store -r $DRV_PATH