Skip to content

Instantly share code, notes, and snippets.

@0x77dev
Last active August 8, 2024 06:31
Show Gist options
  • Save 0x77dev/6797033ac3503f5b6cc903fddbb21b6a to your computer and use it in GitHub Desktop.
Save 0x77dev/6797033ac3503f5b6cc903fddbb21b6a to your computer and use it in GitHub Desktop.
Install Nix on macOS 15.0
NIX_FIRST_BUILD_UID=600 sh <(curl -L https://nixos.org/nix/install)

I got an issue installing Nix on latest macOS 15.0 (Sequioa), looks like 3xx uids are reserved by some new built-in users.

This should fix your issue: NIX_FIRST_BUILD_UID=600

@0x77dev
Copy link
Author

0x77dev commented Aug 8, 2024

In case of SSL errors:

sudo rm /etc/ssl/certs/ca-certificates.crt
sudo ln -s /nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment