News for hackers. Stuff that matters.
Re:My Experience with Nix on OS X by DHowett on Tuesday May 31, 2016 @03:44AM (#11805265)
> packaged as a .pkg, which makes it really easy to cleanly erase installed software.

In theory, but there's no package uninstaller and OS X installer packages are neither pure nor idempotent.

While you can remove the files installed by one, there's no straightforward or platform-provided way to undo the changes made by their (generally unknowable) install scripts.

Incidentally, Apple shipped an Xcode uninstaller; written in perl, it used lsbom and pkgutil to collect and subsequently remove the files owned by all the com.apple.dt packages complement the system-owned files or files installed by other packages.

Re:My Experience with Nix on OS X by curun1r on Tuesday May 31, 2016 @03:16PM (#11809271)
Yes, it's not as clean as Nix when it comes to uninstall, but using piping pkgutil to rm has never gotten my machine in as borked of a state as Homebrew inevitably does. Also, many .pkg files provide an uninstall script of their own which is almost always reliable.