File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -146,10 +146,16 @@ runs:
146146 if : inputs.skip-nix-installation == 'false'
147147 shell : bash
148148 env :
149+ NIX_INSTALLER_EXTRA_CONF : experimental-features = ca-derivations fetch-closure nix-command flakes
149150 NIX_INSTALLER_LOGGER : pretty
150- NIX_INSTALLER_TRUST_RUNNER_USER : true
151+ NIX_INSTALLER_NIX_BUILD_USER_COUNT : 32
152+ NIX_INSTALLER_NIX_BUILD_GROUP_NAME : nixbld
153+ NIX_INSTALLER_NIX_BUILD_GROUP_ID : 30000
151154 NIX_INSTALLER_MODIFY_PROFILE : true
155+ NIX_INSTALLER_INIT : systemd
152156 NIX_INSTALLER_START_DAEMON : true
157+ NIX_INSTALLER_TRUST_RUNNER_USER : true
158+ NIX_INSTALLER_CHANNELS : nixpkgs=https://nixos.org/channels/nixpkgs-unstable
153159 run : |
154160 echo "Installing Nix using experimental installer..."
155161
@@ -168,15 +174,6 @@ runs:
168174 nix --version
169175 nix-env --version
170176
171- - name : Add experimental Nix configuration
172- if : inputs.skip-nix-installation == 'false'
173- shell : bash
174- run : |
175- echo "Adding experimental Nix configuration..."
176- mkdir -p ~/.config/nix
177- echo "experimental-features = ca-derivations fetch-closure nix-command flakes" >> ~/.config/nix/nix.conf
178- echo "Experimental configuration added to nix.conf"
179-
180177 - name : Verify Nix installation
181178 if : inputs.skip-nix-installation == 'false'
182179 shell : bash
You can’t perform that action at this time.
0 commit comments