From b73e0e96e3bf9644dbbf1bb4bc26aa2c87cf50e0 Mon Sep 17 00:00:00 2001 From: Shane Sveller Date: Thu, 1 Sep 2022 16:54:49 -0500 Subject: [PATCH] elixir_1_14: init https://elixir-lang.org/blog/2022/09/01/elixir-v1-14-0-released/ https://hexdocs.pm/elixir/1.14.0/changelog.html --- pkgs/development/beam-modules/default.nix | 10 +++++----- pkgs/development/interpreters/elixir/1.14.nix | 8 ++++++++ pkgs/development/interpreters/elixir/1.9.nix | 9 --------- pkgs/top-level/all-packages.nix | 2 +- pkgs/top-level/beam-packages.nix | 2 +- 5 files changed, 15 insertions(+), 16 deletions(-) create mode 100644 pkgs/development/interpreters/elixir/1.14.nix delete mode 100644 pkgs/development/interpreters/elixir/1.9.nix diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index 1cbdf04bef93d..068e1da33133c 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -44,27 +44,27 @@ let # BEAM-based languages. elixir = elixir_1_13; - elixir_1_13 = lib'.callElixir ../interpreters/elixir/1.13.nix { + elixir_1_14 = lib'.callElixir ../interpreters/elixir/1.14.nix { inherit erlang; debugInfo = true; }; - elixir_1_12 = lib'.callElixir ../interpreters/elixir/1.12.nix { + elixir_1_13 = lib'.callElixir ../interpreters/elixir/1.13.nix { inherit erlang; debugInfo = true; }; - elixir_1_11 = lib'.callElixir ../interpreters/elixir/1.11.nix { + elixir_1_12 = lib'.callElixir ../interpreters/elixir/1.12.nix { inherit erlang; debugInfo = true; }; - elixir_1_10 = lib'.callElixir ../interpreters/elixir/1.10.nix { + elixir_1_11 = lib'.callElixir ../interpreters/elixir/1.11.nix { inherit erlang; debugInfo = true; }; - elixir_1_9 = lib'.callElixir ../interpreters/elixir/1.9.nix { + elixir_1_10 = lib'.callElixir ../interpreters/elixir/1.10.nix { inherit erlang; debugInfo = true; }; diff --git a/pkgs/development/interpreters/elixir/1.14.nix b/pkgs/development/interpreters/elixir/1.14.nix new file mode 100644 index 0000000000000..8b540014c6647 --- /dev/null +++ b/pkgs/development/interpreters/elixir/1.14.nix @@ -0,0 +1,8 @@ +{ mkDerivation }: + +mkDerivation { + version = "1.14.0"; + sha256 = "16rc4qaykddda6ax5f8zw70yhapgwraqbgx5gp3f40dvfax3d51l"; + # https://hexdocs.pm/elixir/1.14.0/compatibility-and-deprecations.html#compatibility-between-elixir-and-erlang-otp + minimumOTPVersion = "23"; +} diff --git a/pkgs/development/interpreters/elixir/1.9.nix b/pkgs/development/interpreters/elixir/1.9.nix deleted file mode 100644 index 4eead35bae378..0000000000000 --- a/pkgs/development/interpreters/elixir/1.9.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ mkDerivation }: - -# How to obtain `sha256`: -# nix-prefetch-url --unpack https://github.com/elixir-lang/elixir/archive/v${version}.tar.gz -mkDerivation { - version = "1.9.4"; - sha256 = "1l4318g35y4h0vi2w07ayc3jizw1xc3s7hdb47w6j3iw33y06g6b"; - minimumOTPVersion = "20"; -} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c17bc68750d41..71dcfaa7b0a34 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -14968,7 +14968,7 @@ with pkgs; inherit (beam.interpreters) erlang erlangR25 erlangR24 erlangR23 erlangR22 erlangR21 erlang_odbc erlang_javac erlang_odbc_javac - elixir elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_1_9 + elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_ls; erlang_nox = beam_nox.interpreters.erlang; diff --git a/pkgs/top-level/beam-packages.nix b/pkgs/top-level/beam-packages.nix index 714873775269a..89d2342f0c63c 100644 --- a/pkgs/top-level/beam-packages.nix +++ b/pkgs/top-level/beam-packages.nix @@ -96,7 +96,7 @@ with beam; { # access for example elixir built with different version of Erlang, use # `beam.packages.erlangR24.elixir`. inherit (packages.erlang) - elixir elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_1_9 elixir_ls; + elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_ls; inherit (packages.erlang) lfe lfe_1_3; };