supabase-postgres.git / summary / log / commit / refs
commit a67e2e1cd373acd93e65615cdc3bf8dac6068d73
Author: samrose <samuel@supabase.io>
Commit: GitHub <noreply@github.com>
Date: Fri Jul 11 16:34:01 2025 +0000
fix: user cachix nix installer with pinned nix version (#1700)
.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 75f4ae20..077c525d 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
[parent: 438def297a3f]