[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72508] [PATCH 3/5] gnu: erlang-jose: Relax build options.
From: |
Igor Goryachev |
Subject: |
[bug#72508] [PATCH 3/5] gnu: erlang-jose: Relax build options. |
Date: |
Wed, 7 Aug 2024 11:23:49 +0300 |
* gnu/packages/erlang-xyz.scm (erlang-jose): Relax build options.
Change-Id: I0e90cb54558260aea07bc33a11a2ab56261a20bf
---
gnu/packages/erlang-xyz.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/packages/erlang-xyz.scm b/gnu/packages/erlang-xyz.scm
index 5661bf52dd..6f1c033aec 100644
--- a/gnu/packages/erlang-xyz.scm
+++ b/gnu/packages/erlang-xyz.scm
@@ -59,6 +59,18 @@ (define-public erlang-jose
(sha256
(base32 "0576jdjygby37qmzrs8cm5l6n622b0mi3z28j6r4s5xsz1px6v0d"))))
(build-system rebar-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ ;; Do not treat warnings as errors, for more info see:
+ ;; https://github.com/potatosalad/erlang-jose/issues/168
+ (add-after 'unpack 'relax-build-options
+ (lambda _
+ (substitute* "rebar.config"
+ (("debug_info,") "debug_info"))
+ (substitute* "rebar.config"
+ (("warnings_as_errors") "")))))))
(synopsis
"JSON Object Signing and Encryption for Erlang and Elixir")
(description
--
2.45.2
- [bug#72508] [PATCH 0/5] Erlang update to 27.0.1., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 2/5] gnu: erlang-yamerl: Update to 0.10.0.a24f448., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 5/5] gnu: erlang: Update to 27.0.1., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 4/5] gnu: ejabberd: Include jiffy dependence under Erlang 27., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 1/5] gnu: erlang-jsx: Fix tests under Erlang 27+., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 3/5] gnu: erlang-jose: Relax build options.,
Igor Goryachev <=
- [bug#72508] [PATCH v2 1/5] gnu: erlang-jsx: Fix tests under Erlang 27+., Igor Goryachev, 2024/08/07
- [bug#72508] [PATCH 0/5] Erlang update to 27.0.1., Andrew Tropin, 2024/08/08