mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: erlang-jose: Relax build options.
* gnu/packages/erlang-xyz.scm (erlang-jose): Relax build options. Change-Id: I0e90cb54558260aea07bc33a11a2ab56261a20bf Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
parent
13b15c5e89
commit
eb6a46fcb7
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue