gnu: erlang-lfe: Update to 2.1.4.

* gnu/packages/erlang.scm (erlang-lfe): Update to 2.1.4.

Change-Id: Ib6888b92ce45853bec9ecec0a24c759358280b5a
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Igor Goryachev via Guix-patches via 2024-06-13 09:17:52 +03:00 committed by Andrew Tropin
parent 64f6451c0b
commit 08ec22831a
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -768,16 +768,16 @@ (define-public rebar3-proper
(define-public erlang-lfe (define-public erlang-lfe
(package (package
(name "erlang-lfe") (name "erlang-lfe")
(version "2.1.2") (version "2.1.4")
(source (origin (source (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/lfe/lfe") (url "https://github.com/lfe/lfe")
(commit "v2.1.2"))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"180hz1p2v3vb6yyzcfwircmljlnd86ln8z80lzy3mwlyrcxblvxy")))) "0yyh8jmdi7c4y6vjrk3zw4iy7iyqcs5h88hx96ml9dx2im2aydlq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
(list (list
@ -825,6 +825,11 @@ (define input-directories
(when tests? (when tests?
(begin (begin
(setenv "REBAR_CACHE_DIR" "/tmp") (setenv "REBAR_CACHE_DIR" "/tmp")
(substitute* "Makefile"
;; More strict argument parsing since rebar v3.23.0 seems
;; to break backwards compatibility. See more info at:
;; https://github.com/erlang/rebar3/pull/2813.
(("-n 20,ct") "-n 20, ct"))
(invoke "make" "-j" (number->string (parallel-job-count)) (invoke "make" "-j" (number->string (parallel-job-count))
"tests")))))))) "tests"))))))))
(native-inputs (list rebar3 rebar3-proper erlang-proper)) (native-inputs (list rebar3 rebar3-proper erlang-proper))