Skip to content

Commit a67e2e1

Browse files
authored
fix: user cachix nix installer with pinned nix version (#1700)
1 parent 438def2 commit a67e2e1

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/nix-build.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,20 @@ jobs:
6363
EOF
6464
sudo chmod +x /etc/nix/upload-to-cache.sh
6565
- name: Install nix
66-
uses: DeterminateSystems/nix-installer-action@main
66+
uses: cachix/install-nix-action@v27
6767
if: ${{ github.secret_source == 'Actions' }}
6868
with:
69-
extra-conf: |
69+
install_url: https://releases.nixos.org/nix/nix-2.29.1/install
70+
extra_nix_config: |
7071
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
7172
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
7273
post-build-hook = /etc/nix/upload-to-cache.sh
7374
- name: Install nix
74-
uses: DeterminateSystems/nix-installer-action@main
75+
uses: cachix/install-nix-action@v27
7576
if: ${{ github.secret_source == 'None' }}
7677
with:
77-
extra-conf: |
78+
install_url: https://releases.nixos.org/nix/nix-2.29.1/install
79+
extra_nix_config: |
7880
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
7981
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI=% cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
8082
- name: Aggressive disk cleanup for DuckDB build

0 commit comments

Comments
 (0)