summary refs log tree commit diff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorBrice Waegeneire <brice@waegenei.re>2021-06-26 18:54:51 +0200
committerBrice Waegeneire <brice@waegenei.re>2021-06-26 19:04:37 +0200
commit5a13e950b2bd0860ee91bcd61a2a3c1a1ec0f616 (patch)
tree0e3193b0eaf743a11eb88e9f6ab1e2f4c7b7c914 /gnu/packages/linux.scm
parentc3dbf94143bc20bb23787a8f17dbf0e71287daa3 (diff)
downloadguix-5a13e950b2bd0860ee91bcd61a2a3c1a1ec0f616.tar.gz
gnu: brightnessctl: Fix installing udev rules.
* gnu/packages/linux.scm (brightnessctl)[arguments]: Preprend
"adjust-udev-rules" to force installation of udev rules.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm2
1 files changed, 2 insertions, 0 deletions
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)))))