A couple weeks ago, I successfully installed NixOS on a Raspberry Pi 3B+. I installed it using a simple configuration.nix.
Last week I then tried to integrate its config into my flake config as the first NixOS host not based on x86_64-linux and ran into a problem while rebuilding, that I simply do not understand.
I’m getting the following error:
error: builder for '/nix/store/mbhydpqm2gass1f6dwyfkfhf9ckkrxpb-options-db.xml.drv' failed with exit code 139;
last 1 log lines:
> /build/.attr-0l2nkwhif96f51f4amnlf414lhl4rv9vh8iffyp431v6s28gsr90: line 19: 8 Segmentation fault (core dumped) xsltproc --stringparam elementId 'nixos-options' --stringparam optionIdPrefix 'nixos-opt' --nonet -o $out/nmd-result/nixos-options.xml /nix/store/41vh9fr1znwk5vjjprk046s6g4f3jc2m-options-to-docbook.xsl options.xml
For full logs, run 'nix log /nix/store/mbhydpqm2gass1f6dwyfkfhf9ckkrxpb-options-db.xml.drv'.
error: 1 dependencies of derivation '/nix/store/7p6zrsgch5f70qf0hmf3kcgjgghq8cbc-nmd-documents.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2fks7zkvjlgc6wikhgqs0fwf4fmhj42h-manual-combined.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wc0v40fh0ycmhnn1jq6yh80r5f1jj8z5-man-pages.drv' failed to build
error: 1 dependencies of derivation '/nix/store/bczp3skc6xsrf2fai2i240cjz1khwg44-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/n743cfrs944s31lpza1pmvjsh99rn97b-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hbsbw3afw3gmv7z40s0gn87q9jz2wz1c-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wjc0b73crhhry7xh2bs81jv3y85fpxz5-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/k43pbjy1w6pik6xpnf1zv3pxymrnjfhk-nixos-system-raspberry-23.05.20230330.e3652e0.drv' failed to build
Any pointers as to what that could be caused by? Could this be related to the documentation.nixos.options.allowDocBook option? It looks like it could be due home-manager, but I use it in the basic configuration.nix as well and that builds fine.
I’m trying to build with sudo nixos-rebuild build --flake .#raspberry --impure --show-trace
but I do not get a more verbose output than this.