diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template index fda027d2b2b..3250f30bf88 100644 --- a/srcpkgs/xfce4-sensors-plugin/template +++ b/srcpkgs/xfce4-sensors-plugin/template @@ -13,4 +13,8 @@ homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" license="GPL-2" distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" checksum=235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0 -nocross="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/7240/steps/shell_3/logs/stdio" + +if [ -n "$CROSS_BUILD" ]; then + # Cannot detect these when cross compiling + configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl" +fi