In a fresh install of Nix 2.20.5 with the Determinate Nix Installer after just installing nix-darwin, I uninstalled nix-darwin with darwin-uninstall.
It emitted a strange line about deleting nix-daemon.plist:
grahamc@Grahams-MacBook-Pro> darwin-uninstaller
Uninstalling nix-darwin, this will:
- remove /Applications/Nix Apps symlink
- cleanup static /etc files
- disable and remove all launchd services managed by nix-darwin
- restore daemon service from nix installer (only when this is a multi-user install)
Proceed? [y/n] y
user defaults...
setting up user launchd services...
setting up /Applications/Nix Apps...
setting up pam...
applying patches...
setting up /etc...
system defaults...
setting up launchd services...
removing service org.nixos.activate-system
removing service org.nixos.nix-daemon
configuring networking...
setting nvram variables...
rm: cannot remove '/Library/LaunchDaemons/org.nixos.nix-daemon.plist': No such file or directory
-- is this intentional? I'd expect it to not try to delete this at all. Even stranger, that file definitely does exist:
In a fresh install of Nix 2.20.5 with the Determinate Nix Installer after just installing nix-darwin, I uninstalled nix-darwin with
darwin-uninstall
.It emitted a strange line about deleting nix-daemon.plist:
-- is this intentional? I'd expect it to not try to delete this at all. Even stranger, that file definitely does exist: