[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71707: [PATCH v4 01/15] gnu: elixir: Fix mix substitute.
From: |
Andrew Tropin |
Subject: |
bug#71707: [PATCH v4 01/15] gnu: elixir: Fix mix substitute. |
Date: |
Tue, 02 Jul 2024 12:22:22 +0400 |
On 2024-07-02 09:55, Igor Goryachev wrote:
> * gnu/packages/elixir.scm (elixir): Fix mix substitute.
>
> Change-Id: I02d5849409dfbc624fcbe76b0a06b88e2ff8f4f2
> ---
> gnu/packages/elixir.scm | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gnu/packages/elixir.scm b/gnu/packages/elixir.scm
> index e3051a8275..ace067aa47 100644
> --- a/gnu/packages/elixir.scm
> +++ b/gnu/packages/elixir.scm
> @@ -136,7 +136,7 @@ (define-public elixir
> ;; program, for example `iex -S mix`, so we should not wrap
> ;; mix into shell script.
> (substitute* (string-append out "/bin/mix")
> - (("Mix.start\\(\\)")
> + (("Mix.CLI.main\\(\\)")
> (format #f "\
> ~~w[GUIX_ELIXIR_LIBS ERL_LIBS]
> |> Enum.map(&System.get_env/1)
> @@ -144,7 +144,7 @@ (define-public elixir
> |> Enum.join(\":\")
> |> case do \"\" -> :ok; erl_libs -> System.put_env(\"ERL_LIBS\", erl_libs)
> end
> System.put_env(\"MIX_REBAR3\", System.get_env(\"MIX_REBAR3\", \"~a\"))
> -Mix.start()"
> +Mix.CLI.main()"
> (search-input-file inputs "/bin/rebar3"))))
> (for-each
> (lambda (program)
>
> base-commit: 0f51ddd8dba6b69115d07f4a77ba70abb6521293
Hi Igor,
Thank you for the fixes and updates, applied, pushed as
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=b3c8285127
--
Best regards,
Andrew Tropin
signature.asc
Description: PGP signature
- [bug#71707] [PATCH v4 13/15] gnu: elixir-dialyxir: Update to 1.4.3., (continued)
- [bug#71707] [PATCH v4 13/15] gnu: elixir-dialyxir: Update to 1.4.3., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 15/15] build-sysem/mix: Preserve code paths., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 06/15] gnu: elixir-jason: Fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 10/15] gnu: elixir-excoveralls: Update to 0.18.1, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 02/15] gnu: elixir-hex: Remove redundant directory, fix lint warnings., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 04/15] gnu: elixir-nimble-parsec: Update to 1.4.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 05/15] gnu: elixir-makeup: Update to 1.1.2, make reproducible., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 07/15] gnu: elixir-file-system: Update to 1.0.0., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 12/15] gnu: elixir-erlex: Update to 0.2.7., Igor Goryachev, 2024/07/02
- [bug#71707] [PATCH v4 14/15] gnu: elixir-machete: Update to 0.3.3., Igor Goryachev, 2024/07/02
- bug#71707: [PATCH v4 01/15] gnu: elixir: Fix mix substitute.,
Andrew Tropin <=