From 0c7064d376702c3bd741cccbbfc0661715aff7fb Mon Sep 17 00:00:00 2001 From: lapineige Date: Sat, 12 Aug 2023 12:54:59 +0200 Subject: [PATCH] Update elixir version to v1.15 https://github.com/bonfire-networks/bonfire-app/commit/20707e8fa07e8ccd3e4a3a9c2ad549b378f8f508 https://github.com/bonfire-networks/bonfire-app/blob/main/docs/DEPLOY.md#dependencies --- scripts/install | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f6af629..f107f8d 100644 --- a/scripts/install +++ b/scripts/install @@ -52,11 +52,16 @@ ynh_replace_string --match_string="UPLOAD_LIMIT=MEDIA_UPLOAD_SIZE" --replace_str #================================================= # SPECIFIC SETUP #================================================= -# Elixir 13 dependency +# Elixir 15 dependency #================================================= ynh_script_progression --message="Managing special dependencies..." --weight=1 -# Bulleyes comes with v1.10 instead of v1.13 that is required -ynh_install_extra_app_dependencies --repo="https://packages.erlang-solutions.com/debian bullseye contrib" --package="elixir" --key='https://packages.erlang-solutions.com/debian/erlang_solutions.asc' +# Bulleyes comes with v1.10 instead of v1.15 that is required +# ynh_install_extra_app_dependencies --repo="https://packages.erlang-solutions.com/debian bullseye contrib" --package="elixir-lang" --key='https://packages.erlang-solutions.com/debian/erlang_solutions.asc' +# v15 is not available in default repo. RabbitMQ repo should be used (https://elixir-lang.org/install.html). No debian simple syntax. TODO later, using the simple syntax for now +add-apt-repository ppa:rabbitmq/rabbitmq-erlang -y # erlang 26 +apt update +apt install elixir # v1.15 + # exlang-dev -> https://github.com/elixir-lang/ex_doc/pull/1442/files # Debian default package is newer (enough), don't use this custom repo #=================================================