mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 23:32:24 -05:00
gnu: brightnessctl: Fix installing udev rules.
* gnu/packages/linux.scm (brightnessctl)[arguments]: Preprend "adjust-udev-rules" to force installation of udev rules.
This commit is contained in:
parent
c3dbf94143
commit
5a13e950b2
1 changed files with 2 additions and 0 deletions
|
@ -6446,6 +6446,8 @@ (define-public brightnessctl
|
|||
(delete 'configure)
|
||||
(add-after 'unpack 'adjust-udev-rules
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("INSTALL_UDEV_RULES=0") "INSTALL_UDEV_RULES=1"))
|
||||
(substitute* "90-brightnessctl.rules"
|
||||
(("/bin/") "/run/current-system/profile/bin/"))
|
||||
#t)))))
|
||||
|
|
Loading…
Reference in a new issue