fix: attic inputs and update-nixfiles

This commit is contained in:
emily 2024-09-11 22:17:48 +02:00
parent 4422ecabc3
commit 66bfeade06
Signed by: emily
GPG key ID: F6F4C66207FCF995
2 changed files with 1 additions and 2 deletions

View file

@ -7,7 +7,6 @@
attic = {
url = "github:zhaofengli/attic";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
disko = {
url = "github:nix-community/disko";

View file

@ -42,7 +42,7 @@ wait_for_hydra () {
local hydra_rev
local counter
counter=0
git_rev="$(gitin rev-parse update-inputs)"
git_rev="$(git -C "${ROOT}/nixfiles" rev-parse update-inputs)"
while true; do
hydra_rev="$(curl -s -L -H "Accept: application/json" "${JOBSET_URL}/latest-eval" | jq -r .flake | sed -E "s/.+&rev=(.*)/\1/g")"
if [[ "${git_rev}" == "${hydra_rev}" ]]; then