cachix / install-nix-action

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

Support uninstall & reinstall `force` option #190

Open sdankel opened 11 months ago

sdankel commented 11 months ago

It would be great to have an option to uninstall any existing version of nix before installing the new version. Something like a force option.

Uninstallation is complicated, particularly on macos: https://github.com/NixOS/nix/issues/3900

Having a github action to do this would be very helpful.

domenkozar commented 10 months ago

Is this for self-hosted runners?

sdankel commented 10 months ago

Yes, it would be useful for self-hosted runners.