macOS fish binary EXC_BAD_ACCESS SIGKILL on macOS

:waving_hand: hey folks! Hope everyone is doing well.

I ran into a problem on my macOS (Sequoia 15.7.5) after updating to the latest nixpkgs-25.11-darwin. Upon rebuild I get a broken fish binary that is getting killed with EXC_BAD_ACCESS SIGKILL due to the invalid code signature. I have tried repairing the store, removing the fish from the nix store and redownloading it, but Iโ€™m still getting the same issue.

Anyone else got similar problems? How do I debug something like that?

Any ideas are appreciated :man_bowing:

1 Like

Hello! The official nix cache (cache.nixos.org) currently contains a badly-signed version, but you can build the package yourself (ie by forcing a rebuild with an override) to get a valid version

2 Likes

Thanks! Thatโ€™s what I did for now, but I was curious to see if I can debug something like that and figure out where things went wrong with the cache.