From 58b1d61750ee858337032d2d0a9a446285c1791f Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Fri, 11 Jul 2025 10:20:03 -0400 Subject: [PATCH] fix: user cachix nix installer with pinned nix version --- .github/workflows/nix-build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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