summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/openldap.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/openldap.scm b/gnu/packages/openldap.scm
index 73cb56c21b..3f3015bd80 100644
--- a/gnu/packages/openldap.scm
+++ b/gnu/packages/openldap.scm
@@ -282,6 +282,10 @@ servers from Python programs.")
       #~(modify-phases %standard-phases
           (add-after 'unpack 'fix-references
             (lambda _
+              ;; Avoid dependency on systemd-detect-virt
+              (substitute* "src/lib389/lib389/instance/setup.py"
+                (("container_result = subprocess.*") "container_result = 1\n")
+                (("container_result.returncode") "container_result"))
               (substitute* "ldap/servers/plugins/sync/sync_persist.c"
                 (("nspr4") "nspr"))
               (substitute* "src/lib389/lib389/utils.py"