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:
Brice Waegeneire 2021-06-26 18:54:51 +02:00
parent c3dbf94143
commit 5a13e950b2
No known key found for this signature in database
GPG key ID: A94903A166A18FAE

View file

@ -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)))))