~ruther/guix-local

a5e6ad127e816382dc73af600703895aa27833ee — Mathieu Othacehe 6 months ago 3f2ee72
gnu: 389-ds-base: Fix the build.

* gnu/packages/openldap.scm (389-ds-base)[arguments]<#:phases>: Fix the
certutil binary search.

Change-Id: Ic257b4820dd4943d0b3fdb46ba4104f1e13b5048
1 files changed, 6 insertions(+), 0 deletions(-)

M gnu/packages/openldap.scm
M gnu/packages/openldap.scm => gnu/packages/openldap.scm +6 -0
@@ 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")