mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: powertop: Refactor regexp.
* gnu/packages/linux.scm (powertop)[arguments]: Factor out substitute* regexp.
This commit is contained in:
parent
2bb8bf36a5
commit
e206036f38
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue