diff --git a/ops/nixos/lib/latest_system_closure.sh b/ops/nixos/lib/latest_system_closure.sh index 3f2d851695..52c4abea69 100755 --- a/ops/nixos/lib/latest_system_closure.sh +++ b/ops/nixos/lib/latest_system_closure.sh @@ -8,4 +8,4 @@ trap '{ rm -rf -- "$tmpdir"; }' EXIT curl -so "$tmpdir/archive.zip" 'https://hg.lukegb.com/api/v4/projects/lukegb%2Fdepot/jobs/artifacts/branch%2Fdefault/download?job=nixCache' unzip -d "$tmpdir" -q -o "$tmpdir/archive.zip" -jq -r ".$(hostname)" "$tmpdir/systems.json" +jq -r ".\"$(hostname)\"" "$tmpdir/systems.json"