gnu: brightnessctl: Fix installing udev rules.
* gnu/packages/linux.scm (brightnessctl)[arguments]: Preprend "adjust-udev-rules" to force installation of udev rules.master
parent
c3dbf94143
commit
5a13e950b2
|
@ -6446,6 +6446,8 @@ set the screen to be pitch black at a value of 0 (or higher).
|
||||||
(delete 'configure)
|
(delete 'configure)
|
||||||
(add-after 'unpack 'adjust-udev-rules
|
(add-after 'unpack 'adjust-udev-rules
|
||||||
(lambda _
|
(lambda _
|
||||||
|
(substitute* "Makefile"
|
||||||
|
(("INSTALL_UDEV_RULES=0") "INSTALL_UDEV_RULES=1"))
|
||||||
(substitute* "90-brightnessctl.rules"
|
(substitute* "90-brightnessctl.rules"
|
||||||
(("/bin/") "/run/current-system/profile/bin/"))
|
(("/bin/") "/run/current-system/profile/bin/"))
|
||||||
#t)))))
|
#t)))))
|
||||||
|
|
Reference in New Issue