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

commit f81eea725c987040bfa5d5b238827bdbd3f88d96
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 | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index f833930463..13884cbae0 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -15,7 +15,7 @@
 ;;; Copyright © 2018 Clément Lassieur <[email protected]>
 ;;; Copyright © 2019 Mathieu Othacehe <[email protected]>
 ;;; Copyright © 2020, 2023, 2025 Janneke Nieuwenhuizen <[email protected]>
-;;; Copyright © 2020, 2021, 2023, 2024 Maxim Cournoyer 
<[email protected]>
+;;; Copyright © 2020, 2021, 2023-2025 Maxim Cournoyer 
<[email protected]>
 ;;; Copyright © 2021 Solene Rapenne <[email protected]>
 ;;; Copyright © 2021 Brice Waegeneire <[email protected]>
 ;;; Copyright © 2021 Maxime Devos <[email protected]>
@@ -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