2017-06-03 21:20:20 +01:00
|
|
|
{ pkgs, stdenv, callPackage, wxGTK30, darwin }:
|
|
|
|
|
|
|
|
rec {
|
2017-06-04 19:26:37 +01:00
|
|
|
lib = import ../development/beam-modules/lib.nix { inherit pkgs; };
|
2017-06-03 21:20:20 +01:00
|
|
|
|
|
|
|
interpreters = rec {
|
|
|
|
|
2017-06-04 19:26:37 +01:00
|
|
|
# R18 is the Default version.
|
2017-06-03 21:20:20 +01:00
|
|
|
erlang = erlangR18;
|
|
|
|
erlang_odbc = erlangR18_odbc;
|
|
|
|
erlang_javac = erlangR18_javac;
|
|
|
|
erlang_odbc_javac = erlangR18_odbc_javac;
|
|
|
|
|
2017-06-04 19:26:37 +01:00
|
|
|
# These are standard Erlang versions, using the generic builder.
|
2017-06-08 00:39:17 +01:00
|
|
|
erlangR16 = lib.callErlang ../development/interpreters/erlang/R16.nix {};
|
|
|
|
erlangR16_odbc = erlangR16.override { odbcSupport = true; };
|
|
|
|
erlangR17 = lib.callErlang ../development/interpreters/erlang/R17.nix {};
|
|
|
|
erlangR17_odbc = erlangR17.override { odbcSupport = true; };
|
|
|
|
erlangR17_javac = erlangR17.override { javacSupport = true; };
|
|
|
|
erlangR17_odbc_javac = erlangR17.override {
|
2017-06-03 21:20:20 +01:00
|
|
|
javacSupport = true; odbcSupport = true;
|
|
|
|
};
|
2017-06-04 19:26:37 +01:00
|
|
|
erlangR18 = lib.callErlang ../development/interpreters/erlang/R18.nix {
|
2017-06-03 21:20:20 +01:00
|
|
|
wxGTK = wxGTK30;
|
|
|
|
};
|
2017-06-08 00:39:17 +01:00
|
|
|
erlangR18_odbc = erlangR18.override { odbcSupport = true; };
|
|
|
|
erlangR18_javac = erlangR18.override { javacSupport = true; };
|
|
|
|
erlangR18_odbc_javac = erlangR18.override {
|
2017-06-03 21:20:20 +01:00
|
|
|
javacSupport = true; odbcSupport = true;
|
|
|
|
};
|
2017-06-04 19:26:37 +01:00
|
|
|
erlangR19 = lib.callErlang ../development/interpreters/erlang/R19.nix {
|
2017-06-03 21:20:20 +01:00
|
|
|
wxGTK = wxGTK30;
|
|
|
|
};
|
2017-06-08 00:39:17 +01:00
|
|
|
erlangR19_odbc = erlangR19.override { odbcSupport = true; };
|
|
|
|
erlangR19_javac = erlangR19.override { javacSupport = true; };
|
|
|
|
erlangR19_odbc_javac = erlangR19.override {
|
2017-06-03 21:20:20 +01:00
|
|
|
javacSupport = true; odbcSupport = true;
|
|
|
|
};
|
|
|
|
|
2017-06-04 19:26:37 +01:00
|
|
|
# Bash fork, using custom builder.
|
2017-06-07 22:21:14 +01:00
|
|
|
erlang_basho_R16B02 = lib.callErlang ../development/interpreters/erlang/R16B02-8-basho.nix {
|
2017-06-04 19:26:37 +01:00
|
|
|
};
|
2017-06-07 22:21:14 +01:00
|
|
|
erlang_basho_R16B02_odbc = erlang_basho_R16B02.override {
|
2017-06-04 19:26:37 +01:00
|
|
|
odbcSupport = true;
|
|
|
|
};
|
2017-06-03 21:20:20 +01:00
|
|
|
|
2017-06-04 19:26:37 +01:00
|
|
|
# Other Beam languages.
|
|
|
|
elixir = callPackage ../development/interpreters/elixir { debugInfo = true; };
|
2017-06-03 21:20:20 +01:00
|
|
|
lfe = callPackage ../development/interpreters/lfe { };
|
|
|
|
};
|
|
|
|
|
|
|
|
packages = rec {
|
|
|
|
rebar = callPackage ../development/tools/build-managers/rebar { };
|
|
|
|
rebar3-open = callPackage ../development/tools/build-managers/rebar3 { hermeticRebar3 = false; };
|
|
|
|
rebar3 = callPackage ../development/tools/build-managers/rebar3 { hermeticRebar3 = true; };
|
|
|
|
hexRegistrySnapshot = callPackage ../development/beam-modules/hex-registry-snapshot.nix { };
|
|
|
|
fetchHex = callPackage ../development/beam-modules/fetch-hex.nix { };
|
|
|
|
|
|
|
|
beamPackages = callPackage ../development/beam-modules { };
|
|
|
|
hex2nix = beamPackages.callPackage ../development/tools/erlang/hex2nix { };
|
|
|
|
cuter = callPackage ../development/tools/erlang/cuter { };
|
|
|
|
|
|
|
|
relxExe = callPackage ../development/tools/erlang/relx-exe {};
|
|
|
|
};
|
|
|
|
}
|