nix build
for first-time home-manager build fails with address boundary error
#173650
Labels
0.kind: bug
Something is broken
Describe the bug
Original Reddit post
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).Steps To Reproduce
Steps to reproduce the behavior:
nix-command
andflakes
experimental features.~/.config/nixpkgs
cd ~/.config/nixpkgs
nix build --no-link ~/.config/nixpkgs#homeConfigurations.littlepony.activationPackage
You should get something like
nix build ... terminated by SIGSEGV (Address boundary error)
Expected behavior
I should be able to build my home-manager configuration successfully
Additional context
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 :)
Notify maintainers
@rycee maybe
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: