me
/
guix
Archived
1
0
Fork 0

gnu: powertop: Refactor regexp.

* gnu/packages/linux.scm (powertop)[arguments]:
Factor out substitute* regexp.
master
Tobias Geerinckx-Rice 2022-11-20 01:00:00 +01:00
parent 2bb8bf36a5
commit e206036f38
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 2 additions and 3 deletions

View File

@ -3179,9 +3179,8 @@ devices. It replaces @code{iwconfig}, which is deprecated.")
;; 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