gnu: ejabberd: Include jiffy dependence under Erlang 27.

* gnu/packages/messaging.scm (ejabberd): Include jiffy dependence under Erlang 27.

Change-Id: Id0b0e7acb8100b406a6c686227dd497e0d7434fd
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Igor Goryachev via Guix-patches via 2024-08-07 19:32:12 +03:00 committed by Andrew Tropin
parent eb6a46fcb7
commit 535dadf89d
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0

View File

@ -3706,6 +3706,9 @@ a text snippet), using @code{libphonenumber}.")
(substitute* "rebar.config" (substitute* "rebar.config"
(("\\{copy, \"rel/files/erl\",") (("\\{copy, \"rel/files/erl\",")
"%{copy, \"rel/files/erl\",")) "%{copy, \"rel/files/erl\","))
;; It seems ejabberd still needs jiffy due to p1_acme.
(substitute* "rebar.config"
(("\\{if_version_below, \"27\",") "{if_version_below, \"30\","))
;; Unpin pinned dependences. ;; Unpin pinned dependences.
(substitute* "rebar.lock" (substitute* "rebar.lock"
((",1\\}") ",0}")) ((",1\\}") ",0}"))