Nixos-unstable rebuild segfault

Hey :wave:

I’ve gotten myself into a bit of a pickle, but I dunno how or what went wrong…

I’ve got my nixos channel pointing to nixos-unstable, and when I go to run sudo nixos-rebuild switch I get stuck at a segmentation fault every time.

$ sudo nixos-version
20.09.1984.9da0758c1cd (Nightingale)
uname -a
Linux nixos 5.9.0-rc3 #1-NixOS SMP Sun Aug 30 23:01:54 UTC 2020 x86_64 GNU/Linux

Here’s the trace output hastebin. The offender seems to be the following:

ptools-check-hook/nix-support/setup-hook: line 4:   300 Segmentation fault      (core dumped) /nix/store/18656kvqazm74bj7k3mdkwmdlqfyf
581-python3-3.8.6/bin/python3.8 nix_run_setup test
builder for '/nix/store/yhzwwhbcfw8vrm1cnqgsfa3xv1hh0s4p-python3.8-dulwich-0.20.11.drv' failed with exit code 139

There is apparently a regression in the python3.pkgs.dulwich package/tests causing that package build to fail and thereby everything that depends on it.

To fix your issue, the package needs to be fixed.

1 Like

This has been fixed by, which is not yet in nixos-unstable.

there was an abi incompatibility because of an old gevent package. A proper fix was done