←back to thread

MacOS Catalina: Slow by Design?

(sigpipe.macromates.com)
2031 points jrk | 2 comments | | HN request time: 0.488s | source
Show context
soraminazuki ◴[] No.23274749[source]
Up until the release of Catalina, I've always upgraded to the latest version of macOS within a month or two. But some of the changes this time is really stopping me from upgrading.

As of Catalina, there's no sane way to install the Nix package manager without losing functionality because macOS now disallows creating new files in the root directory[1]. Nix stores its packages in the /nix directory and it's not possible to migrate without causing major disruptions for existing NixOS and other Linux users. This is too bad, since apart from Nix being a nice package manager, it also provides a sane binary package for Emacs. The Homebrew core/cask versions only provides a limited feature set[2][3].

[1]: https://github.com/NixOS/nix/issues/2925

[2]: https://github.com/Homebrew/homebrew-core/issues/31510

[3]: https://github.com/caldwell/build-emacs/search?q=support+is%...

replies(7): >>23274866 #>>23274876 #>>23275063 #>>23275095 #>>23275183 #>>23276409 #>>23276458 #
yalogin ◴[] No.23275183[source]
Brew never had this problem because they chose a sane path without corrupting the system directory. It’s a bad design on part of NixOS and one can even say the changes in the macOS were designed to encourage good/sane design.
replies(7): >>23275262 #>>23275470 #>>23275519 #>>23275569 #>>23275633 #>>23276341 #>>23276345 #
saagarjha ◴[] No.23275633[source]
> Brew never had this problem because they chose a sane path without corrupting the system directory.

Ha, no. They did the absolute worst thing they could have done and now that they are popular they think they "own" /usr/local. (They used to camp out in /usr, but Apple rightfully put a stop to that real quick when SIP came out.)

replies(1): >>23275701 #
Wowfunhappy ◴[] No.23275701[source]
This is why, of the two, I prefer Macports.
replies(2): >>23275740 #>>23276705 #
saagarjha ◴[] No.23275740[source]
Happy MacPorts user of just over a year as well, for a variety of reasons I won't get into here but that being one of them.
replies(1): >>23275942 #
etoulas ◴[] No.23275942[source]
Very satisfied MacPorts user since 16 years. I really don’t get why brew is a thing...
replies(4): >>23276102 #>>23276608 #>>23276678 #>>23277038 #
fastball ◴[] No.23276102[source]
Because 10 years ago when I first started installing software from the command line on my mac, a large number of the packages I wanted to install were very outdated on MacPorts, and {CURRENT_VERSION} on homebrew.

Also `brew cask` is nice.

EDIT: also that Macbook had a 128GB HDD, so space was kinda precious, and MacPorts installing its own version of libs that were already on the system was literally taking up GBs of space.

replies(1): >>23276471 #
kitsunesoba ◴[] No.23276471[source]
In addition to outdated ports, several times I had issues with macports mucking with or otherwise interfering with the system-bundled copies of things which was a real headache.

Seems like the ideal setup would be something like Homebrew, except it "lives" in the ~/Library/Brews/ folder or something to that effect.

replies(2): >>23276561 #>>23276598 #
saagarjha ◴[] No.23276598[source]
Homebrew does this far more often. MacPorts is off in its own world in /opt/local, which is actually mildly inconvenient sometimes because a lot of things won't pick it up when you want them to.
replies(1): >>23277312 #
Wowfunhappy ◴[] No.23277312{3}[source]
Tiny typo that confused me, I think you mean:

> a lot of things won't pick it up when you want them to.

replies(1): >>23277333 #
saagarjha ◴[] No.23277333{4}[source]
Thanks! I fixed it to limit confusion.
replies(1): >>23277407 #
1. Wowfunhappy ◴[] No.23277407[source]
Completely off-topic, but do you somehow get notifications about replies to your comments? You often manage to respond within a couple minutes. :)
replies(1): >>23277440 #
2. saagarjha ◴[] No.23277440[source]
https://www.hnreplies.com