diff --git a/flake.nix b/flake.nix index 4f4cb40a..aab7537a 100644 --- a/flake.nix +++ b/flake.nix @@ -563,7 +563,7 @@ nix develop --impure --command poetry run ruff format . --verbose nix develop --impure --command poetry build -vvv nix develop --impure --command poetry run blackbox/ -vvv & - nix develop --impure --command sleep 1; i=0; while [ $i -lt 5 ]; do result=$(curl -X 'GET' 'http://0.0.0.0:8000/status' -H 'accept: application/json'); [ "$result" == "True" ] && break || sleep 1; ((i+=1)); done + nix develop --impure --command sleep 1; i=0; while [ $i -lt 5 ]; do result=$(curl -X 'GET' 'http://0.0.0.0:8000/status' -H 'accept: application/json'); (([ "$result" == "True" ] && break) || sleep 1; ((i+=1));) done nix develop --impure --command poetry check --lock ) nix flake show --all-systems --json --no-write-lock-file