All Nix commands Segfault after rebuild from flake

Hello all, every single one of my Nix commands (nix --version - experimental, home-manager even, nix-shell etc etc) seg fault returning only a fish: Job 1, 'nix' terminated by signal SIGSEGV (Address boundary error) on fish and an even more unhelpful Segmentation fault (core dumped) error when run using Bash? I have no idea what is going on and would like some guidance.

The nix command in previous generations work - and even after nixos-rebuild switch but once I reboot into that generation it goes kaput.

The flake in question: GitHub - DrMkdaddy/NixOS-Config

I see that you did a flake update recently and since you do not pin inputs to a specific revision, maybe something broke in your inputs.

I would advise to rollback the lockfile, then switch to get the new swwwitch input added to lockfile and see if everything is working fine.

If it does, then you can proceed to update your inputs one by one until it breaks to get the faulty one.
If it doesn’t, I don’t have any clue as to what is happening…

Hope you will succeed in fixing this issue!

1 Like

Great idea man I’ll get to work on that.