From 5a13e950b2bd0860ee91bcd61a2a3c1a1ec0f616 Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Sat, 26 Jun 2021 18:54:51 +0200 Subject: gnu: brightnessctl: Fix installing udev rules. * gnu/packages/linux.scm (brightnessctl)[arguments]: Preprend "adjust-udev-rules" to force installation of udev rules. --- gnu/packages/linux.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 6214a6ff9e..00c9485d34 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -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))))) -- cgit v1.2.3