aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorIgor Goryachev <igor@goryachev.org>2024-07-02 09:55:03 +0300
committerAndrew Tropin <andrew@trop.in>2024-07-02 11:53:51 +0400
commit373a635afa15f3d70efa277a9157393421dcb1b9 (patch)
tree763b679ab6deea9153c9b6c2ac7e0aed47dcec5f /gnu/packages
parent76534bff369e282ef0487039d695af5d352ed87d (diff)
downloadguix-373a635afa15f3d70efa277a9157393421dcb1b9.tar.gz
guix-373a635afa15f3d70efa277a9157393421dcb1b9.zip
gnu: elixir: Fix mix substitute.
* gnu/packages/elixir.scm (elixir): Fix mix substitute. Change-Id: I02d5849409dfbc624fcbe76b0a06b88e2ff8f4f2 Signed-off-by: Andrew Tropin <andrew@trop.in>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/elixir.scm4
1 files 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 @@
;; 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 @@
|> 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)