gnu: elixir: Update to 1.13.2.

* gnu/packages/elixir.scm (elixi): Update to 1.13.2.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Cees de Groot 2022-01-27 02:45:40 +00:00 committed by Nicolas Goaziou
parent 1c5b0f4f3e
commit d3865640e8
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

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