guix_mirror_bot pushed a commit to branch wip-fix-system-tests
in repository guix.

commit f91286326a96cd1a58077e66cfcf30c8d725d2fd
Author: Mathieu Othacehe <[email protected]>
AuthorDate: Tue Oct 21 10:27:21 2025 +0200

    gnu: 389-ds-base: Fix the build.
    
    * gnu/packages/openldap.scm (389-ds-base)[arguments]<#:phases>: Fix the
    certutil binary search.
    
    Change-Id: Ic257b4820dd4943d0b3fdb46ba4104f1e13b5048
---
 gnu/packages/openldap.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 5b8370dc50..b33108b81a 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -273,6 +273,12 @@ servers from Python programs.")
       #~(modify-phases %standard-phases
           (add-after 'unpack 'fix-references
             (lambda _
+              ;; Add the NSS bin output to the search path, so that certutil
+              ;; can be found below.  As nss:bin does not have a sub "/bin"
+              ;; directory it cannot be found directly.
+              (let ((path (getenv "PATH"))
+                    (nss (string-append ":" #$nss:bin)))
+                (setenv "PATH" (string-append path ":" nss)))
               ;; Avoid dependency on systemd-detect-virt
               (substitute* "src/lib389/lib389/instance/setup.py"
                 (("container_result = subprocess.*") "container_result = 1\n")

Reply via email to