diff --git a/srcpkgs/kubernetes-helm/template b/srcpkgs/kubernetes-helm/template index 8c86ce90094..e947dfaff31 100644 --- a/srcpkgs/kubernetes-helm/template +++ b/srcpkgs/kubernetes-helm/template @@ -21,8 +21,12 @@ nopie=yes LDFLAGS="-fuse-ld=bfd" post_install() { - for shell in bash zsh; do - vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}" - vcompletion "helm.${shell}" "${shell}" - done + if [ "$XBPS_TARGET_MACHINE" != aarch64-musl ]; then + # qemu-aarch64-static segfaults + # https://build.voidlinux.org/builders/aarch64-musl_builder/builds/49864/steps/shell_3/logs/stdio + for shell in bash zsh; do + vtargetrun "${DESTDIR}/usr/bin/helm" completion "${shell}" > "helm.${shell}" + vcompletion "helm.${shell}" "${shell}" + done + fi }