Skip to content

Commit d9660bf

Browse files
committedMay 15, 2024··
ci: updated pinned installer
1 parent 2f46901 commit d9660bf

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed
 

‎.github/workflows/test.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77

88
env:
99
nixpkgs_channel: nixpkgs=channel:nixos-23.11
10+
oldest_supported_installer: nix-2.8.0
11+
# Fetch new versions from the Nix CI run: https://github.com/NixOS/nix/blob/master/.github/workflows/ci.yml
12+
# TODO: add pinning upstream or rethink this
13+
pinned_installer_hash: zfzfrbb59jsqrfkldwj8drcr9nhhc49k
1014

1115
jobs:
1216
simple-build:
@@ -99,7 +103,7 @@ jobs:
99103
with:
100104
nix_path: ${{ env.nixpkgs_channel }}
101105
install_options: --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve
102-
install_url: https://nixos-nix-install-tests.cachix.org/serve/s62m7lc0q0mz2mxxm9q0kkrcg90njzhq/install
106+
install_url: https://nixos-nix-install-tests.cachix.org/serve/${{ env.pinned_installer_hash }}/install
103107
- run: nix-build test.nix
104108

105109
oldest-supported-installer:
@@ -117,7 +121,7 @@ jobs:
117121
uses: ./
118122
with:
119123
nix_path: ${{ env.nixpkgs_channel }}
120-
install_url: https://releases.nixos.org/nix/nix-2.8.0/install
124+
install_url: https://releases.nixos.org/nix/${{ env.oldest_supported_installer }}/install
121125
- run: nix-build test.nix
122126

123127
act-support:

0 commit comments

Comments
 (0)
Please sign in to comment.