diff mbox series

[bug#73367,4/4] gnu: elixir: Update to 1.17.3.

Message ID be4927843338b51592ccd33d371e4fc5799c853d.1726763309.git.igor@goryachev.org
State New
Headers show
Series Update erlang, elixir and rebar3. | expand

Commit Message

Igor Goryachev Sept. 19, 2024, 4:39 p.m. UTC
* gnu/packages/elixir.scm (elixir): Update to 1.17.3.
[arguments]<#:phases>: Add 'disable-some-logger-tests-for-erlang-27.1+ phase.

Change-Id: I1adf3a24656b291f57cfb29812cf034130552506
---
 gnu/packages/elixir.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index 895ede25dd..459e160830 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -41,7 +41,7 @@  (define-module (gnu packages elixir)
 (define-public elixir
   (package
     (name "elixir")
-    (version "1.17.2")
+    (version "1.17.3")
     (source
      (origin
        (method git-fetch)
@@ -50,7 +50,7 @@  (define-public elixir
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "063pfz6ljy22b4nyvk8pi8ggqb6nmzqcca08vnl3h9xgh1zzddpj"))
+        (base32 "171l6g304044yk6i0827hgl64vp122ygn1wa1xqdjhw08b5kl2pd"))
        (patches (search-patches "elixir-path-length.patch"))))
     (build-system gnu-build-system)
     (arguments
@@ -127,6 +127,14 @@  (define-public elixir
               (lambda* (#:key inputs #:allow-other-keys)
                 ;; Some tests require access to a home directory.
                 (setenv "HOME" "/tmp")))
+            ;; Temporarily skip several tests related to logger to pass
+            ;; under Erlang 27.1. For more info see:
+            ;; https://elixirforum.com/t/elixir-v1-17-3-released/66156/2
+            (add-before 'check 'disable-some-logger-tests-for-erlang-27.1+
+              (lambda _
+                (substitute* "lib/logger/test/logger/translator_test.exs"
+                  (("test \"translates Supervisor progress")
+                   "@tag :skip\n  test \"translates Supervisor progress"))))
             (delete 'configure)
             (add-after 'install 'wrap-programs
               (lambda* (#:key inputs outputs #:allow-other-keys)