GNU bug report logs - #53565
[PATCH] Upgrade Elixir to 1.13..2

Previous Next

Package: guix-patches;

Reported by: Cees de Groot <cg <at> evrl.com>

Date: Thu, 27 Jan 2022 02:46:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Cees de Groot <cg <at> evrl.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] Upgrade Elixir to 1.13..2
Date: Thu, 27 Jan 2022 02:45:40 +0000
From 536012ef4a83b1b0d6b2b7b862b394943458deab Mon Sep 17 00:00:00 2001
From: Cees de Groot <cg <at> evrl.com>
Date: Wed, 26 Jan 2022 21:43:00 -0500
Subject: [PATCH] Bump Elixir to 1.13.2

---
 gnu/packages/elixir.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index 87177acce0..e0c4b47469 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -35,7 +35,7 @@ (define-module (gnu packages elixir)
 (define-public elixir
   (package
     (name "elixir")
-    (version "1.12.3")
+    (version "1.13.2")
     (source
      (origin
        (method git-fetch)
@@ -44,7 +44,7 @@ (define-public elixir
              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "07fisdx755cgyghwy95gvdds38sh138z56biariml18jjw5mk3r6"))
+        (base32 "1d3mk7abn3rk536vmsfbm4smj52rljff6s40sndg0i7p6dl3kzxa"))
        (patches (search-patches "elixir-path-length.patch"))))
     (build-system gnu-build-system)
     (arguments
@@ -69,7 +69,7 @@ (define-public elixir
                  (("#!/bin/sh")
                   (string-append "#!" (which "sh"))))
                (substitute* "bin/elixir"
-                 (("ERTS_BIN=")
+                 (("^ERTS_BIN=$")
                   (string-append
                     "ERTS_BIN="
                     ;; Elixir Releases will prepend to ERTS_BIN the path of a copy of erl.
@@ -78,7 +78,7 @@ (define-public elixir
                     ;; erl binary in Guix store.
                     "\nif [ -z \"$ERTS_BIN\" ]; then ERTS_BIN="
                     (string-drop-right (which "erl") 3)
-                    "; fi")))
+                    "; fi\n")))
                (substitute* "bin/mix"
                  (("#!/usr/bin/env elixir")
                   (string-append "#!" out "/bin/elixir"))))))
--
2.34.0






This bug report was last modified 3 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.