ops/nixos/lib: fix latest_system_closure for machines with - in hostname
This commit is contained in:
parent
33cfba2e2f
commit
8dab1a04fe
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
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"
|
unzip -d "$tmpdir" -q -o "$tmpdir/archive.zip"
|
||||||
jq -r ".$(hostname)" "$tmpdir/systems.json"
|
jq -r ".\"$(hostname)\"" "$tmpdir/systems.json"
|
||||||
|
|
Loading…
Reference in a new issue