mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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>
This commit is contained in:
committed by
Andreas Enge
parent
f09b0641bb
commit
4983c6f46b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user