diff --git a/.github/workflows/nix-build.yml b/.github/workflows/nix-build.yml index 75f4ae20c..077c525dd 100644 --- a/.github/workflows/nix-build.yml +++ b/.github/workflows/nix-build.yml @@ -63,18 +63,20 @@ jobs: EOF sudo chmod +x /etc/nix/upload-to-cache.sh - name: Install nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v27 if: ${{ github.secret_source == 'Actions' }} with: - extra-conf: | + install_url: https://releases.nixos.org/nix/nix-2.29.1/install + extra_nix_config: | substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= post-build-hook = /etc/nix/upload-to-cache.sh - name: Install nix - uses: DeterminateSystems/nix-installer-action@main + uses: cachix/install-nix-action@v27 if: ${{ github.secret_source == 'None' }} with: - extra-conf: | + install_url: https://releases.nixos.org/nix/nix-2.29.1/install + extra_nix_config: | substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= - name: Aggressive disk cleanup for DuckDB build