Shane Sveller 2023-12-22 11:03:43 -06:00
parent ea8bb2df93
commit 45f7246016
No known key found for this signature in database
4 changed files with 15 additions and 2 deletions

View File

@ -45,6 +45,11 @@ let
# BEAM-based languages.
elixir = elixir_1_15;
elixir_1_16 = lib'.callElixir ../interpreters/elixir/1.16.nix {
inherit erlang;
debugInfo = true;
};
elixir_1_15 = lib'.callElixir ../interpreters/elixir/1.15.nix {
inherit erlang;
debugInfo = true;

View File

@ -0,0 +1,8 @@
{ mkDerivation }:
mkDerivation {
version = "1.16.0";
sha256 = "sha256-nM3TpX18zdjDAFkljsAqwKx/1AQmwDMIQCeL75etTQc=";
# https://hexdocs.pm/elixir/1.16.0/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp
minimumOTPVersion = "24";
escriptPath = "lib/elixir/scripts/generate_app.escript";
}

View File

@ -17632,7 +17632,7 @@ with pkgs;
inherit (beam.interpreters)
erlang erlang_26 erlang_25 erlang_24
erlang_odbc erlang_javac erlang_odbc_javac
elixir elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10
elixir elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10
elixir-ls;
erlang_nox = beam_nox.interpreters.erlang;

View File

@ -85,7 +85,7 @@ in
# access for example elixir built with different version of Erlang, use
# `beam.packages.erlang_24.elixir`.
inherit (self.packages.erlang)
elixir elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls lfe lfe_2_1;
elixir elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls lfe lfe_2_1;
} // interpretersAliases;
# Helper function to generate package set with a specific Erlang version.