Compare commits

...

1 commit

Author SHA1 Message Date
Graham Christensen 15a3413475 Make nix-darwin uninstall error note darwin-uninstall 2023-11-23 22:15:03 -05:00

View file

@ -317,7 +317,7 @@ fn check_not_running_in_rosetta() -> Result<(), PlannerError> {
#[non_exhaustive]
#[derive(thiserror::Error, Debug)]
pub enum MacosError {
#[error("`nix-darwin` installation detected, it must be removed before uninstalling Nix. Please refer to https://github.com/LnL7/nix-darwin#uninstalling for instructions how to uninstall `nix-darwin`.")]
#[error("`nix-darwin` installation detected, it must be removed before uninstalling Nix. Run `darwin-uninstall` or refer to https://github.com/LnL7/nix-darwin#uninstalling for instructions how to uninstall.")]
UninstallNixDarwin,
}