From 7b8cac86ba0bd7ddf02042ec8b9b46f13687d081 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 14 Dec 2022 22:46:21 +0100 Subject: [PATCH] gnu: 389-ds-base: Avoid dependency on systemd-detect-virt. * gnu/packages/openldap.scm (389-ds-base)[arguments]: Remove invocation of systemd-detect-virt. --- gnu/packages/openldap.scm | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ (define-public 389-ds-base #~(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"