Commit f3f544c 1 parent 08dcb3a commit f3f544c Copy full SHA for f3f544c
File tree 1 file changed +15
-10
lines changed
1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 8
8
env :
9
9
nixpkgs_channel : nixpkgs=channel:nixos-24.05
10
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
14
11
15
12
jobs :
16
13
simple-build :
@@ -87,23 +84,31 @@ jobs:
87
84
uses : ./
88
85
- run : nix flake show github:NixOS/nixpkgs
89
86
90
- installer-options :
87
+ latest-installer :
91
88
strategy :
92
89
fail-fast : false
93
90
matrix :
94
- os :
95
- - ubuntu-latest
96
- # - macos-latest missing installer for aarch64-darwin
97
- - macos-13
91
+ include :
92
+ - os : ubuntu-latest
93
+ system : x86_64-linux
94
+ - os : macos-latest
95
+ system : aarch64-darwin
96
+ - os : macos-13
97
+ system : x86_64-darwin
98
98
runs-on : ${{ matrix.os }}
99
99
steps :
100
100
- uses : actions/checkout@v4
101
+ - name : Run NAR server
102
+ run : |
103
+ curl --location https://github.com/cachix/nar-toolbox/releases/download/v0.1.0/nar-toolbox-${{ matrix.system }} -O
104
+ chmod +x ./nar-toolbox-${{ matrix.system }}
105
+ ./nar-toolbox-${{ matrix.system }} serve https://cache.nixos.org &
101
106
- name : Install Nix
102
107
uses : ./
103
108
with :
104
109
nix_path : ${{ env.nixpkgs_channel }}
105
- install_options : --tarball-url-prefix https://nixos-nix-install-tests.cachix. org/serve
106
- install_url : https://nixos-nix-install-tests.cachix.org/serve/${{ env.pinned_installer_hash }}/install
110
+ install_url : https://hydra. nixos. org/job/nix/master/installerScript/latest-finished/download/1/install
111
+ install_options : " --tarball-url-prefix http://localhost:8080 "
107
112
- run : nix-build test.nix
108
113
109
114
oldest-supported-installer :
You can’t perform that action at this time.
0 commit comments