Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Retry flake check due to flaky deps

+9 -1
+9 -1
.tangled/workflows/check.yml
··· 18 18 command: "nix develop --command pre-commit run --all-files" 19 19 20 20 - name: "Run flake checks" 21 - command: "nix flake check --show-trace" 21 + command: | 22 + for attempt in 1 2 3; do 23 + echo "Running nix flake check, attempt ${attempt}/3" 24 + nix flake check --show-trace && exit 0 25 + if [ "$attempt" -lt 3 ]; then 26 + sleep "$((attempt * 30))" 27 + fi 28 + done 29 + exit 1