File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 5
5
branches :
6
6
- master
7
7
8
+ env :
9
+ nixpkgs_channel : nixpkgs=channel:nixos-23.11
10
+
8
11
jobs :
9
12
simple-build :
10
13
strategy :
20
23
- name : Install Nix
21
24
uses : ./
22
25
with :
23
- nix_path : nixpkgs=channel:nixos-22.11
26
+ nix_path : ${{ env.nixpkgs_channel }}
24
27
- run : nix-env -iA cachix -f https://cachix.org/api/v1/install
25
28
- run : cat /etc/nix/nix.conf
26
29
# cachix should be available and be able to configure a cache
41
44
- name : Install Nix
42
45
uses : ./
43
46
with :
44
- nix_path : nixpkgs=channel:nixos-20.03
45
- - run : test $NIX_PATH == "nixpkgs=channel:nixos-20.03"
47
+ nix_path : ${{ env.nixpkgs_channel }}
48
+ - run : test $NIX_PATH == '${{ env.nixpkgs_channel }}'
46
49
- run : nix-build test.nix
47
50
48
51
extra-nix-config :
59
62
- name : Install Nix
60
63
uses : ./
61
64
with :
62
- nix_path : nixpkgs=channel:nixos-22.11
65
+ nix_path : ${{ env.nixpkgs_channel }}
63
66
extra_nix_config : |
64
67
sandbox = relaxed
65
68
- run : cat /etc/nix/nix.conf
94
97
- name : Install Nix
95
98
uses : ./
96
99
with :
97
- nix_path : nixpkgs=channel:nixos-22.11
100
+ nix_path : ${{ env.nixpkgs_channel }}
98
101
install_options : --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve
99
102
install_url : https://nixos-nix-install-tests.cachix.org/serve/s62m7lc0q0mz2mxxm9q0kkrcg90njzhq/install
100
103
- run : nix-build test.nix
@@ -113,7 +116,7 @@ jobs:
113
116
- name : Install Nix
114
117
uses : ./
115
118
with :
116
- nix_path : nixpkgs=channel:nixos-22.11
119
+ nix_path : ${{ env.nixpkgs_channel }}
117
120
install_url : https://releases.nixos.org/nix/nix-2.8.0/install
118
121
- run : nix-build test.nix
119
122
You can’t perform that action at this time.
0 commit comments