diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 135fb20999..8086980901 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -3179,9 +3179,8 @@ (define-public powertop ;; These programs are only needed to calibrate, so using ;; relative file names avoids adding extra inputs. When they ;; are missing powertop gracefully handles it. - (("/usr/bin/hcitool") "hcitool") - (("/usr/bin/xset") "xset") - (("/usr/sbin/hciconfig") "hciconfig")))))))) + (("/usr/s?bin/(hciconfig|hcitool|xset)" _ command) + command)))))))) (native-inputs (list autoconf autoconf-archive