diff --git a/srcpkgs/nix/template b/srcpkgs/nix/template index 5c434f564fa..2262edf37aa 100644 --- a/srcpkgs/nix/template +++ b/srcpkgs/nix/template @@ -38,6 +38,10 @@ CXXFLAGS="-Wno-deprecated-declarations" if [ "$CROSS_BUILD" ]; then make_build_args+=" CROSS_EMULATOR=/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static" make_install_args+=" CROSS_EMULATOR=/usr/bin/qemu-${XBPS_TARGET_QEMU_MACHINE}-static" + # XXX: documentation generation hangs in cross on arm32 musl + case "$XBPS_TARGET_MACHINE" in + arm*musl) configure_args+=" --disable-doc-gen" ;; + esac fi # Default configuration file.