News for hackers. Stuff that matters.
Re:Our Audit of Homebrew by lifty on Wednesday July 31, 2024 @03:15AM (#41117029)
Don’t you have to disable SIP to use nix on macOS?
Re:Our Audit of Homebrew by socksy on Wednesday July 31, 2024 @03:40AM (#41117122)
Re:Our Audit of Homebrew by FireBeyond on Wednesday July 31, 2024 @04:11PM (#41122954)
If there's any hope of Nix seeing widespread adoption as a Mac package manager, uh... this link kinda shoots it down a lot.

From that:

- create a new APFS volume for your Nix store

- update /etc/synthetic.conf to direct macOS to create a "synthetic" empty root directory to mount your volume - specify mount options for the volume in /etc/fstab: rw: read-write, noauto: prevent the system from auto-mounting the volume (so the LaunchDaemon mentioned below can control mounting it, and to avoid masking problems with that mounting service), nobrowse: prevent the Nix Store volume from showing up on your desktop; also keeps Spotlight from spending resources to index this volume

- if you have FileVault enabled: generate an encryption password, put it in your system Keychain, use it to encrypt the volume

- create a system LaunchDaemon to mount this volume early enough in the boot process to avoid problems loading or restoring any programs that need access to your Nix store

Even as someone who knows how to do all that... no thanks.

Re:Our Audit of Homebrew by Cloudef on Wednesday July 31, 2024 @08:38PM (#41125083)
The installer does it all for you. Theres even graphical installer https://determinate.systems/posts/graphical-nix-installer/
Re:Our Audit of Homebrew by Cloudef on Wednesday July 31, 2024 @03:22AM (#41117059)
No. Even though SIP is slightly annoying because you can't have strace equivalent with it.