`nix build` (first-time home-manager build) fails with SIGSEGV
So I recently wiped my laptop to change its filesystem from btrfs to ext4, hoping for a little performance improvement (every bit counts at its age). I was able to re-partition my disk and re-install NixOS smoothly on my laptop. (Here's my NixOS config.)
But I cannot build my home-manager configuration.
I manage my home-manager config with flakes. To build it for the first time on a fresh system, I'm trying to use nix build --no-link ~/.config/nixpkgs/#homeConfigurations.<machine_name>.activationPackage. However, this fails with an address boundary error (SIGSEGV).
I haven't found anything online about this. I've tried running it with env GC_DONT_GC=1, but that didn't fix the issue.
Here's an strace that might help.
Thank you in advance for any help, workarounds, or suggestions :)
Edit: Got some gdb output as well
Posted May 19, 2022, 1:49 AM UTC · edited
Everyone stumped too? I opened a bug report for this on GitHub: https://github.com/NixOS/nixpkgs/issues/173650
It might be a better idea to open a bug report on the Nix repo instead (https://github.com/NixOS/nix/issues)
Oops you're right. Thank you!
Edit: Here