From 909da3998e9c59c17d17f31a9713b9894a6f8374 Mon Sep 17 00:00:00 2001 From: Justin Wood Date: Mon, 26 Jun 2017 12:42:56 -0400 Subject: [PATCH] Include Elixir 1.5 rc --- pkgs/development/beam-modules/default.nix | 5 +++++ pkgs/development/interpreters/elixir/1.5.nix | 6 ++++++ pkgs/top-level/beam-packages.nix | 1 + 3 files changed, 12 insertions(+) create mode 100644 pkgs/development/interpreters/elixir/1.5.nix diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix index 69265aa53e4d..d1907e07262d 100644 --- a/pkgs/development/beam-modules/default.nix +++ b/pkgs/development/beam-modules/default.nix @@ -39,6 +39,11 @@ let # BEAM-based languages. elixir = elixir-1_4; + elixir-1_5 = lib.callElixir ../interpreters/elixir/1.5.nix "18" { + inherit rebar erlang; + debugInfo = true; + }; + elixir-1_4 = lib.callElixir ../interpreters/elixir/1.4.nix "18" { inherit rebar erlang; debugInfo = true; diff --git a/pkgs/development/interpreters/elixir/1.5.nix b/pkgs/development/interpreters/elixir/1.5.nix new file mode 100644 index 000000000000..4ef30204ce31 --- /dev/null +++ b/pkgs/development/interpreters/elixir/1.5.nix @@ -0,0 +1,6 @@ +{ mkDerivation }: + +mkDerivation rec { + version = "1.5.0-rc.0"; + sha256 = "1p0sawz86w9na56c42ivdacqxzldjb9s9cvl2isj3sy4nwsa0l0j"; +} diff --git a/pkgs/top-level/beam-packages.nix b/pkgs/top-level/beam-packages.nix index 877feaee8710..3a2d91617838 100644 --- a/pkgs/top-level/beam-packages.nix +++ b/pkgs/top-level/beam-packages.nix @@ -57,6 +57,7 @@ rec { # access for example elixir built with different version of Erlang, use # `beam.packages.erlangR19.elixir`. elixir = packages.erlang.elixir; + elixir-1_5 = packages.erlang.elixir-1_5; elixir-1_4 = packages.erlang.elixir-1_4; elixir-1_3 = packages.erlang.elixir-1_3;