From cf3f4e54a085506e2a0aa26da7c3de2d6eac69d8 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sun, 9 Jun 2024 00:06:16 +0800 Subject: [PATCH] xfce.xfce4-sensors-plugin: Only build nvidiaSupport when libXNVCtrl is available Only x86_64-linux and aarch64-linux right now. --- .../xfce/panel-plugins/xfce4-sensors-plugin/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix index 07445ffb1c99..43896afa4f15 100644 --- a/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix +++ b/pkgs/desktops/xfce/panel-plugins/xfce4-sensors-plugin/default.nix @@ -12,8 +12,8 @@ lm_sensors, hddtemp, netcat-gnu, - nvidiaSupport ? true, libXNVCtrl, + nvidiaSupport ? lib.meta.availableOn stdenv.hostPlatform libXNVCtrl, gitUpdater, }: