From c828defe7e099389bc428a5984898e828f7ae672 Mon Sep 17 00:00:00 2001 From: "Thing-han, Lim" <15379156+potsrevennil@users.noreply.github.com> Date: Wed, 18 Sep 2024 19:33:33 +0800 Subject: [PATCH] echo path Signed-off-by: Thing-han, Lim <15379156+potsrevennil@users.noreply.github.com> --- .github/actions/setup-nix/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" \