cachix / install-nix-action

Installs Nix on GitHub Actions for the supported platforms: Linux and macOS.
Apache License 2.0
526 stars 80 forks source link

Drop unnecessary use of sudo when tee'ing nix.conf #84

Closed mmlb closed 3 years ago

mmlb commented 3 years ago

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.