New comment by gbrlsnchs on void-packages repository https://github.com/void-linux/void-packages/pull/36704#issuecomment-1101686958 Comment: > If anyone has any tips for the failing crossbuilds, feel free to let me know. Meanwhile I will ask on their discourse about it. For my custom packages, I'm using the following in order to build Neovim to ARM64: ```sh pre_configure() { vsed -i runtime/CMakeLists.txt \ -e "s|\".*/bin/nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g" if [ "$CROSS_BUILD" ]; then # https://github.com/neovim/neovim/pull/16722#issue-1084168744 configure_args+=" -DCOMPILE_LUA=OFF" fi } ```