all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Igor Goryachev via Guix-patches via <guix-patches@gnu.org>
To: 72508@debbugs.gnu.org
Cc: Igor Goryachev <igor@goryachev.org>, Andrew Tropin <andrew@trop.in>
Subject: [bug#72508] [PATCH 3/5] gnu: erlang-jose: Relax build options.
Date: Wed,  7 Aug 2024 11:23:49 +0300	[thread overview]
Message-ID: <fa7878b1d3ea46d24715a31b0cb25dcc7869636e.1723018213.git.igor@goryachev.org> (raw)
In-Reply-To: <cover.1723018213.git.igor@goryachev.org>

* 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





  parent reply	other threads:[~2024-08-07  8:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-07  8:10 [bug#72508] [PATCH 0/5] Erlang update to 27.0.1 Igor Goryachev via Guix-patches via
2024-08-07  8:23 ` [bug#72508] [PATCH 1/5] gnu: erlang-jsx: Fix tests under Erlang 27+ Igor Goryachev via Guix-patches via
2024-08-07  8:23 ` [bug#72508] [PATCH 2/5] gnu: erlang-yamerl: Update to 0.10.0.a24f448 Igor Goryachev via Guix-patches via
2024-08-07 15:49   ` Andrew Tropin via Guix-patches via
2024-08-07  8:23 ` Igor Goryachev via Guix-patches via [this message]
2024-08-07  8:23 ` [bug#72508] [PATCH 4/5] gnu: ejabberd: Include jiffy dependence under Erlang 27 Igor Goryachev via Guix-patches via
2024-08-07  8:23 ` [bug#72508] [PATCH 5/5] gnu: erlang: Update to 27.0.1 Igor Goryachev via Guix-patches via
2024-08-07 16:32 ` [bug#72508] [PATCH v2 1/5] gnu: erlang-jsx: Fix tests under Erlang 27+ Igor Goryachev via Guix-patches via
2024-08-07 16:32   ` [bug#72508] [PATCH v2 2/5] gnu: erlang-yamerl: Update to 0.10.0-0.a24f448 Igor Goryachev via Guix-patches via
2024-08-07 16:32   ` [bug#72508] [PATCH v2 3/5] gnu: erlang-jose: Relax build options Igor Goryachev via Guix-patches via
2024-08-07 16:32   ` [bug#72508] [PATCH v2 4/5] gnu: ejabberd: Include jiffy dependence under Erlang 27 Igor Goryachev via Guix-patches via
2024-08-07 16:32   ` [bug#72508] [PATCH v2 5/5] gnu: erlang: Update to 27.0.1 Igor Goryachev via Guix-patches via
2024-08-09  1:01 ` [bug#72508] [PATCH 0/5] Erlang update " Andrew Tropin via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fa7878b1d3ea46d24715a31b0cb25dcc7869636e.1723018213.git.igor@goryachev.org \
    --to=guix-patches@gnu.org \
    --cc=72508@debbugs.gnu.org \
    --cc=andrew@trop.in \
    --cc=igor@goryachev.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.