Skip to content
This repository has been archived by the owner on Jun 13, 2018. It is now read-only.

Kernel freeze on OS X High Sierra (Nix) #61

Closed
mbrock opened this issue Oct 20, 2017 · 0 comments
Closed

Kernel freeze on OS X High Sierra (Nix) #61

mbrock opened this issue Oct 20, 2017 · 0 comments

Comments

@mbrock
Copy link
Contributor

mbrock commented Oct 20, 2017

Sadly, Nix breaks the kernel on High Sierra, because of a bug Apple introduced and will hopefully fix.

This results in freezes and kernel panics when installing Nix packages!

The workaround is to use Nix in "single user mode" rather than using the Nix daemon.

Here's how to switch, after you've installed Nix:

sudo launchctl unload /Library/LaunchDaemons/org.nixos.nix-daemon.plist
sudo launchctl stop org.nixos.nix-daemon
sudo chown -R $(whoami) /nix
sudo sed -i /build-users-group/d /etc/nix/nix.conf
echo "export NIX_REMOTE=" >> ~/.bashrc

After that, the Nix commands should work again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant