guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: brightnessctl: Fix installing udev rules.


From: guix-commits
Subject: branch master updated: gnu: brightnessctl: Fix installing udev rules.
Date: Sat, 26 Jun 2021 13:08:27 -0400

This is an automated email from the git hooks/post-receive script.

bricewge pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5a13e95  gnu: brightnessctl: Fix installing udev rules.
5a13e95 is described below

commit 5a13e950b2bd0860ee91bcd61a2a3c1a1ec0f616
Author: Brice Waegeneire <brice@waegenei.re>
AuthorDate: Sat Jun 26 18:54:51 2021 +0200

    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 6214a6f..00c9485 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]