summaryrefslogtreecommitdiff
path: root/gnu/packages/elixir.scm
diff options
context:
space:
mode:
authorIgorj Gorjaĉev <igor@goryachev.org>2025-11-20 13:36:44 +0200
committerAndreas Enge <andreas@enge.fr>2025-11-22 11:52:28 +0100
commit4983c6f46b5eb4ad126efa1f4eed7d991052b439 (patch)
treee81065186614798d2993e1f7375640e31cdfc572 /gnu/packages/elixir.scm
parentf09b0641bb2db32f652f043a14492b66e0112eff (diff)
gnu: elixir: Update to 1.19.3.
* gnu/packages/elixir.scm (elixir): Update to 1.19.3. [arguments]<#:phases>{replace-paths}: Add substitution. Change-Id: Ic94e5aec86ae4e47dedaf337a690e2024e9afee4 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/elixir.scm')
-rw-r--r--gnu/packages/elixir.scm15
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
index 0e53223f105..61537959d83 100644
--- a/gnu/packages/elixir.scm
+++ b/gnu/packages/elixir.scm
@@ -9,7 +9,7 @@
;;; Copyright © 2021 Cees de Groot <cg@evrl.com>
;;; Copyright © 2024 Andrew Tropin <andrew@trop.in>
;;; Copyright © 2024, 2025 Ivan Sokolov <ivan-p-sokolov@ya.ru>
-;;; Copyright © 2024, 2025 Igor Goryachev <igor@goryachev.org>
+;;; Copyright © 2024, 2025 Igorj Gorjaĉev <igor@goryachev.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -41,7 +41,7 @@
(define-public elixir
(package
(name "elixir")
- (version "1.18.4")
+ (version "1.19.3")
(source
(origin
(method git-fetch)
@@ -50,7 +50,7 @@
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0861h06x1594jsqq21lkmd96yvlfhfngrrxm6fwpqifzw4ij02iz"))
+ (base32 "1y5h1vn0r735g64xszz96l2cfs2c5lspglhh8syhpabx1a15vvw4"))
(patches (search-patches "elixir-path-length.patch"))))
(build-system gnu-build-system)
(arguments
@@ -89,7 +89,14 @@
"; fi\n")))
(substitute* "bin/mix"
(("#!/usr/bin/env elixir")
- (string-append "#!" #$output "/bin/elixir")))))
+ (string-append "#!" #$output "/bin/elixir")))
+ ;; We should not break the formatting, so we need to patch
+ ;; the following more accurately.
+ (substitute* "lib/mix/test/mix/tasks/cmd_test.exs"
+ (("File\\.mkdir_p!\\(\"priv\"\\)" all)
+ (string-append all "\n sh = \""
+ (search-input-file inputs "/bin/sh") "\""))
+ (("#!/bin/sh") "#!#{sh}"))))
(add-after 'replace-paths 'pre-install-source
(lambda* (#:key outputs #:allow-other-keys)
(copy-recursively