Some checks failed
Mark stable commit / test-unit (push) Has been cancelled
Mark stable commit / test-integration (push) Has been cancelled
Mark stable commit / test-container (push) Has been cancelled
Mark stable commit / test-e2e (push) Has been cancelled
Mark stable commit / test-virgin-user (push) Has been cancelled
Mark stable commit / test-virgin-root (push) Has been cancelled
Mark stable commit / mark-stable (push) Has been cancelled
Refactored the Nix initialization script to reduce duplicated code and centralize the installation workflow. The core functionality remains unchanged, but all installer calls now use a unified function with retry support to ensure resilient downloads in CI and container environments. Key improvements: - Added download retry logic (5 minutes total, 20-second intervals) - Consolidated installer invocation into `install_nix_with_retry` - Reduced code duplication across container/host install paths - Preserved existing installation behavior for all environments - Maintained `nixbld` group and build-user handling - Improved consistency and readability without altering semantics This prevents intermittent failures such as: “curl: (6) Could not resolve host: nixos.org” and ensures stable, deterministic Nix setup in CI pipelines. https://chatgpt.com/share/693b13ce-fdcc-800f-a7bc-81c67478edff