diff --git a/srcpkgs/icinga2/template b/srcpkgs/icinga2/template index 54ffc07542b..8b21d1c78ff 100644 --- a/srcpkgs/icinga2/template +++ b/srcpkgs/icinga2/template @@ -20,12 +20,14 @@ homepage="https://www.icinga.org/" distfiles="https://github.com/Icinga/icinga2/archive/v${version}.tar.gz" checksum=3d46e61bc45a369c757a9f91111b80fb2405099a32e04e7d259f8c3a72cfe762 -nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/25979/steps/shell_3/logs/stdio" - system_accounts="icinga" system_groups="icingacmd" icinga_groups="icingacmd" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qemu-user-static" +fi + post_install() { vsv icinga2 # remove useless files