Subject: bug#52900: closed (Re: [bug#52900] [PATCH] gnu: libfido2: install udev rules.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 13 Oct 2022 11:46:02 +0000

Your bug report

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

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
52900: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=52900
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#52900] [PATCH] gnu: libfido2: install udev rules.
From: Christopher Baines <[email-masked]>
To: Nicolas Graves <[email-masked]>
Cc: John Kehayias <[email-masked]>, [email-masked], dan <[email-masked]>
Date: Thu, 13 Oct 2022 12:44:19 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Nicolas Graves via Guix-patches via <[email-masked]> writes:

> [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(-)

Thanks all, I've gone ahead and pushed this to master as.
33f56db65498b75ad0a55b780ce501d2b3532044.

Chris

Subject: [PATCH] gnu: libfido2: install udev rules
From: dan <[email-masked]>
To: [email-masked]
Date: Fri, 31 Dec 2021 01:00:32 +0800
List-Id: <debbugs-submit.debbugs.gnu.org>

[arguments]: Add a configure flag specifying the installation directory of the
udev rule.

---
 gnu/packages/security-token.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/security-token.scm b/gnu/packages/security-token.scm
index 6a3e2d9179..719515e3ea 100644
--- a/gnu/packages/security-token.scm
+++ b/gnu/packages/security-token.scm
@@ -777,7 +777,9 @@ (define-public libfido2
        ("openssl" ,openssl)))
     (build-system cmake-build-system)
     (arguments
-     '(#:phases
+     '(#:configure-flags
+       (list (string-append "-DUDEV_RULES_DIR=" %output "/lib/udev/rules.d"))
+       #:phases
        (modify-phases %standard-phases
          ;; regress tests enabled only for debug builds
          (delete 'check))))
-- 
2.34.0