Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

M4 Mac migrated nix daemon crashes immediately #11918

Open
skeet70 opened this issue Nov 19, 2024 · 0 comments
Open

M4 Mac migrated nix daemon crashes immediately #11918

skeet70 opened this issue Nov 19, 2024 · 0 comments
Labels

Comments

@skeet70
Copy link

skeet70 commented Nov 19, 2024

Describe the bug

I migrated from an M3 Mac to an M4 Mac. I uninstalled nix following the official docs on the M4, then reinstalled with the official installer. It installed without error after having me remove a bunch of backups, but now any nix command I run just gives me

error: Nix daemon disconnected unexpectedly (maybe it crashed?)

Sometimes it'll download things for a bit before that, but once it has cached up to a point, any run of the same command will give me that error immediately. cat /var/log/nix-daemon.log shows a new two entries of

accepted connection from pid <unknown>, user mumu
libc++abi: terminating due to uncaught exception of type nix::Interrupted: error: interrupted by the user

I promise I'm not interrupting anything.

Steps To Reproduce

Doesn't seem particularly reproducible but:

  1. Use the Mac Migration assistant to migrate everything from a system with a working nix and nix-darwin installation
  2. Follow the official uninstallation instructions, removing backup files as it discovers them.
  3. sh <(curl -L https://nixos.org/nix/install) to install nix
  4. Run nix-shell -p nix-info --run "nix-info -m"

Expected behavior

The successful output of nix-info.

Additional Details

nix_2024-11-19-122317_MacBook-Pro.diag.txt
nix-2024-11-19-121348.ips.txt
nix-2024-11-19-122337.ips.txt
nix-2024-11-19-122801.ips.txt
nix-2024-11-19-124924.ips.txt
nix-2024-11-19-124934.ips.txt
nix-2024-11-19-125113.ips.txt
nix-2024-11-19-131620.ips.txt
nix-2024-11-19-134029.ips.txt
nix-2024-11-19-134043.ips.txt
nix-2024-11-19-134056.ips.txt
nix-daemon.log

nix-env --version output

nix-env (Nix) 2.25.2

Priorities

Add 👍 to issues you find important.

@skeet70 skeet70 added the bug label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant