From 14fa7440117190a7e99f5fc7da15f24054679e6e Mon Sep 17 00:00:00 2001 From: cw Date: Fri, 21 Jun 2019 11:04:09 +0200 Subject: [PATCH] elixir_1_9: init at 1.9.0-rc.0 --- pkgs/development/beam-modules/default.nix | 10 +++++----- pkgs/development/interpreters/elixir/1.9.nix | 7 +++++++ pkgs/top-level/all-packages.nix | 2 +- pkgs/top-level/beam-packages.nix | 2 +- 4 files changed, 14 insertions(+), 7 deletions(-) create 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 a1eedaad6a0f..63d046c7b47e 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -43,6 +43,11 @@ let # BEAM-based languages. elixir = elixir_1_7; + elixir_1_9 = lib.callElixir ../interpreters/elixir/1.9.nix { + inherit rebar erlang; + debugInfo = true; + }; + elixir_1_8 = lib.callElixir ../interpreters/elixir/1.8.nix { inherit rebar erlang; debugInfo = true; @@ -63,11 +68,6 @@ let debugInfo = true; }; - elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix { - inherit rebar erlang; - debugInfo = true; - }; - # Remove old versions of elixir, when the supports fades out: # https://hexdocs.pm/elixir/compatibility-and-deprecations.html diff --git a/pkgs/development/interpreters/elixir/1.9.nix b/pkgs/development/interpreters/elixir/1.9.nix new file mode 100644 index 000000000000..728b7b123196 --- /dev/null +++ b/pkgs/development/interpreters/elixir/1.9.nix @@ -0,0 +1,7 @@ +{ mkDerivation }: + +mkDerivation rec { + version = "1.9.0-rc.0"; + sha256 = "0pid607xbgqghljz2mcgqbjxkxsyq16c60kvnmkq680wk8g5ni72"; + minimumOTPVersion = "20"; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 3e9fe1528a01..10d8a29b1b17 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8242,7 +8242,7 @@ in inherit (beam.interpreters) erlang erlangR18 erlangR19 erlangR20 erlangR21 erlang_odbc erlang_javac erlang_odbc_javac erlang_nox erlang_basho_R16B02 - elixir elixir_1_8 elixir_1_7 elixir_1_6 elixir_1_5 elixir_1_4 + elixir elixir_1_9 elixir_1_8 elixir_1_7 elixir_1_6 elixir_1_5 lfe lfe_1_2; inherit (beam.packages.erlang) diff --git a/pkgs/top-level/beam-packages.nix b/pkgs/top-level/beam-packages.nix index f05cf3d9290e..310188168d07 100644 --- a/pkgs/top-level/beam-packages.nix +++ b/pkgs/top-level/beam-packages.nix @@ -61,7 +61,7 @@ rec { # Other Beam languages. These are built with `beam.interpreters.erlang`. To # access for example elixir built with different version of Erlang, use # `beam.packages.erlangR19.elixir`. - inherit (packages.erlang) elixir elixir_1_8 elixir_1_7 elixir_1_6 elixir_1_5 elixir_1_4; + inherit (packages.erlang) elixir elixir_1_9 elixir_1_8 elixir_1_7 elixir_1_6 elixir_1_5; inherit (packages.erlang) lfe lfe_1_2; };