me
/
guix
Archived
1
0
Fork 0

gnu: brightnessctl: Fix installing udev rules.

* gnu/packages/linux.scm (brightnessctl)[arguments]: Preprend
"adjust-udev-rules" to force installation of udev rules.
master
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
1 changed files with 2 additions and 0 deletions

View File

@ -6446,6 +6446,8 @@ set the screen to be pitch black at a value of 0 (or higher).
(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)))))