elixir: init 1.7.0
This commit is contained in:
parent
7110d87d51
commit
911b7b20c0
4 changed files with 26 additions and 14 deletions
|
@ -44,25 +44,30 @@ let
|
||||||
# BEAM-based languages.
|
# BEAM-based languages.
|
||||||
elixir = elixir_1_6;
|
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 {
|
elixir_1_6 = lib.callElixir ../interpreters/elixir/1.6.nix {
|
||||||
inherit rebar erlang;
|
inherit rebar erlang;
|
||||||
debugInfo = true;
|
debugInfo = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
elixir_1_5 = lib.callElixir ../interpreters/elixir/1.5.nix {
|
elixir_1_5 = lib.callElixir ../interpreters/elixir/1.5.nix {
|
||||||
inherit rebar erlang;
|
inherit rebar erlang;
|
||||||
debugInfo = true;
|
debugInfo = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix {
|
elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix {
|
||||||
inherit rebar erlang;
|
inherit rebar erlang;
|
||||||
debugInfo = true;
|
debugInfo = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
elixir_1_3 = lib.callElixir ../interpreters/elixir/1.3.nix {
|
elixir_1_3 = lib.callElixir ../interpreters/elixir/1.3.nix {
|
||||||
inherit rebar erlang;
|
inherit rebar erlang;
|
||||||
debugInfo = true;
|
debugInfo = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
lfe = lfe_1_2;
|
lfe = lfe_1_2;
|
||||||
lfe_1_2 = lib.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; };
|
lfe_1_2 = lib.callLFE ../interpreters/lfe/1.2.nix { inherit erlang buildRebar3 buildHex; };
|
||||||
|
|
7
pkgs/development/interpreters/elixir/1.7.nix
Normal file
7
pkgs/development/interpreters/elixir/1.7.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ mkDerivation }:
|
||||||
|
|
||||||
|
mkDerivation rec {
|
||||||
|
version = "1.7.0";
|
||||||
|
sha256 = "082924fngc6ypbkn1ghdwf199radk00daf4q09mm04h81jy4nmxm";
|
||||||
|
minimumOTPVersion = "18";
|
||||||
|
}
|
|
@ -37,7 +37,7 @@ in
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
# The build process uses ./rebar. Link it to the nixpkgs rebar
|
# The build process uses ./rebar. Link it to the nixpkgs rebar
|
||||||
rm -v rebar
|
rm -vf rebar
|
||||||
ln -s ${rebar}/bin/rebar rebar
|
ln -s ${rebar}/bin/rebar rebar
|
||||||
|
|
||||||
substituteInPlace Makefile \
|
substituteInPlace Makefile \
|
||||||
|
|
|
@ -61,7 +61,7 @@ rec {
|
||||||
# Other Beam languages. These are built with `beam.interpreters.erlang`. To
|
# Other Beam languages. These are built with `beam.interpreters.erlang`. To
|
||||||
# access for example elixir built with different version of Erlang, use
|
# access for example elixir built with different version of Erlang, use
|
||||||
# `beam.packages.erlangR19.elixir`.
|
# `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;
|
inherit (packages.erlang) lfe lfe_1_2;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue