3
0
Fork 0
forked from mirrors/nixpkgs

elixir: init 1.7.0

This commit is contained in:
Daiderd Jordan 2018-07-25 23:48:29 +02:00
parent 7110d87d51
commit 911b7b20c0
No known key found for this signature in database
GPG key ID: D02435D05B810C96
4 changed files with 26 additions and 14 deletions

View file

@ -44,25 +44,30 @@ let
# BEAM-based languages.
elixir = elixir_1_6;
elixir_1_7 = lib.callElixir ../interpreters/elixir/1.7.nix {
inherit rebar erlang;
debugInfo = true;
};
elixir_1_6 = lib.callElixir ../interpreters/elixir/1.6.nix {
inherit rebar erlang;
debugInfo = true;
};
inherit rebar erlang;
debugInfo = true;
};
elixir_1_5 = lib.callElixir ../interpreters/elixir/1.5.nix {
inherit rebar erlang;
debugInfo = true;
};
inherit rebar erlang;
debugInfo = true;
};
elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix {
inherit rebar erlang;
debugInfo = true;
};
inherit rebar erlang;
debugInfo = true;
};
elixir_1_3 = lib.callElixir ../interpreters/elixir/1.3.nix {
inherit rebar erlang;
debugInfo = true;
};
inherit rebar erlang;
debugInfo = true;
};
lfe = lfe_1_2;
lfe_1_2 = lib.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; };

View file

@ -0,0 +1,7 @@
{ mkDerivation }:
mkDerivation rec {
version = "1.7.0";
sha256 = "082924fngc6ypbkn1ghdwf199radk00daf4q09mm04h81jy4nmxm";
minimumOTPVersion = "18";
}

View file

@ -37,7 +37,7 @@ in
preBuild = ''
# The build process uses ./rebar. Link it to the nixpkgs rebar
rm -v rebar
rm -vf rebar
ln -s ${rebar}/bin/rebar rebar
substituteInPlace Makefile \

View file

@ -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_6 elixir_1_5 elixir_1_4 elixir_1_3;
inherit (packages.erlang) elixir elixir_1_7 elixir_1_6 elixir_1_5 elixir_1_4 elixir_1_3;
inherit (packages.erlang) lfe lfe_1_2;
};