sudo is not needed when tee'ing into /tmp/nix.conf (proof: Install nix on https://github.com/tinkerbell/boots/runs/2901158055?check_suite_focus=true). Without this patch, I am unable to run the install-nix-action successfully as I don't have sudo access on the self-hosted runner I'm trying this on, but do have nix installed.
sudo is not needed when tee'ing into /tmp/nix.conf (proof:
Install nix
on https://github.com/tinkerbell/boots/runs/2901158055?check_suite_focus=true). Without this patch, I am unable to run theinstall-nix-action
successfully as I don't have sudo access on the self-hosted runner I'm trying this on, but do havenix
installed.