guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit 4321dc90878b2e654700a498a66e8f096e9b6438
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Sun Feb 9 14:57:26 2025 +0900

    gnu: p11-kit: Add search path specification for P11_MODULE_PATH.
    
    * gnu/packages/tls.scm (p11-kit) [native-search-paths]: New field.
    
    Change-Id: I10b2420340aa42dd1e91d41030b1fa44b549f631
---
 gnu/packages/tls.scm | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 5492bff348..3f677e0db1 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -189,6 +189,13 @@ in intelligent transportation networks.")
                         ,(file-append (this-package-native-input "nss-certs")
                                       "/etc/ssl/certs")))))
                 ":")))))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "P11_MODULE_PATH")
+            (files (list "share/p11-kit/modules"))
+            ;; Helas, this only currently support a single PATH entry.  It'll
+            ;; thus only work in profiles, not in the build environment.
+            (separator #f))))
     (home-page "https://p11-glue.github.io/p11-glue/p11-kit.html";)
     (synopsis "PKCS#11 library")
     (description

Reply via email to