summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-14 22:46:21 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-14 22:46:21 +0100
commit7b8cac86ba0bd7ddf02042ec8b9b46f13687d081 (patch)
treeb9aefb558a5df5c4c0f79c129432573035a1bc0b
parente2bcd41ce35b051f311e36dfd104d36ce1145f8b (diff)
gnu: 389-ds-base: Avoid dependency on systemd-detect-virt.
* gnu/packages/openldap.scm (389-ds-base)[arguments]: Remove invocation of systemd-detect-virt.
-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"