Skip to content

Commit 868e467

Browse files
committed
fix: make sure we install right version
1 parent c254ccf commit 868e467

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/nix-install-ephemeral/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,15 @@ runs:
4141
sudo chmod +x /etc/nix/upload-to-cache.sh
4242
env:
4343
NIX_SIGN_SECRET_KEY: ${{ env.NIX_SIGN_SECRET_KEY }}
44+
- name: Set Nix package URL
45+
shell: bash
46+
run: |
47+
ARCH="$(uname -m)"
48+
OS="$(uname -s | tr '[:upper:]' '[:lower:]')"
49+
echo "NIX_INSTALLER_NIX_PACKAGE_URL=https://releases.nixos.org/nix/nix-2.33.4/nix-2.33.4-${ARCH}-${OS}.tar.xz" >> "$GITHUB_ENV"
4450
- uses: NixOS/nix-installer-action@d6ef7ecd8f685af89869e5aca0580a33e3e3150c
4551
with:
46-
installer-version: 2.33.4
52+
installer-version: 2.33.3
4753
extra-conf: |
4854
substituters = https://cache.nixos.org https://nix-postgres-artifacts.s3.amazonaws.com
4955
trusted-public-keys = nix-postgres-artifacts:dGZlQOvKcNEjvT7QEAJbcV6b6uk7VF/hWMjhYleiaLI= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=

0 commit comments

Comments
 (0)