Skip to content

Commit

Permalink
elixir_1_18: init at 1.18.1
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Vavera <[email protected]>
(cherry picked from commit f308a42)
  • Loading branch information
ankhers authored and adamcstephens committed Dec 25, 2024
1 parent 4e2a4a7 commit 03c4087
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pkgs/development/beam-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ let
# BEAM-based languages.
elixir = elixir_1_17;

elixir_1_18 = lib'.callElixir ../interpreters/elixir/1.18.nix {
inherit erlang;
debugInfo = true;
};

elixir_1_17 = lib'.callElixir ../interpreters/elixir/1.17.nix {
inherit erlang;
debugInfo = true;
Expand Down
8 changes: 8 additions & 0 deletions pkgs/development/interpreters/elixir/1.18.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{ mkDerivation }:
mkDerivation {
version = "1.18.1";
sha256 = "sha256-zJNAoyqSj/KdJ1Cqau90QCJihjwHA+HO7nnD1Ugd768=";
# https://hexdocs.pm/elixir/1.18.0/compatibility-and-deprecations.html#between-elixir-and-erlang-otp
minimumOTPVersion = "25";
escriptPath = "lib/elixir/scripts/generate_app.escript";
}
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7330,7 +7330,7 @@ with pkgs;

inherit (beam.interpreters)
erlang erlang_27 erlang_26 erlang_25 erlang_24
elixir elixir_1_17 elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10
elixir elixir_1_18 elixir_1_17 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;
Expand Down
1 change: 1 addition & 0 deletions pkgs/top-level/beam-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ in
# `beam.packages.erlang_24.elixir`.
inherit (self.packages.erlang)
elixir
elixir_1_18
elixir_1_17
elixir_1_16
elixir_1_15
Expand Down

0 comments on commit 03c4087

Please sign in to comment.