guix-patches
[Top][All Lists]
Advanced

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

[bug#52900] [PATCH] gnu: libfido2: install udev rules.


From: Nicolas Graves
Subject: [bug#52900] [PATCH] gnu: libfido2: install udev rules.
Date: Thu, 06 Oct 2022 19:07:28 +0200

[arguments]: Add a configure flag specifying the installation directory of the
udev rule.
---
 gnu/packages/security-token.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 447a7a582d..5f10b5592a 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -909,7 +909,8 @@ (define-public libfido2
                "-DPKG_CONFIG_EXECUTABLE="
                (search-input-file %build-inputs
                                   (string-append
-                                    "/bin/" ,(pkg-config-for-target)))))
+                                   "/bin/" ,(pkg-config-for-target))))
+             (string-append "-DUDEV_RULES_DIR=" %output "/lib/udev/rules.d"))
        #:phases
        (modify-phases %standard-phases
          ;; regress tests enabled only for debug builds
--
2.37.3

--
Best regards,
Nicolas Graves





reply via email to

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