diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index d401ff24b..48e97e1b9 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -29,10 +29,11 @@ runs: nix config show | grep -E "^experimental-features = .*nix-command" - name: Install nix - if: steps.pre-check-nix.outcome != 'success' && ${{ inputs.nix-pre-installed == 'true' }} + if: needs.pre-check-nix.result != 'success' && ${{ inputs.nix-pre-installed == 'true' }} shell: bash run: | + echo "$PATH" curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --no-confirm \ --extra-conf "trusted-users = root ${USER:-}" \ --extra-conf "experimental-features = nix-command flakes" \