erlangR25: init at 25.0 (#173674)

This commit is contained in:
David Leslie 2022-05-20 12:17:16 +02:00 committed by GitHub
parent 652e0963a4
commit 814537f297
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 1 deletions

View File

@ -0,0 +1,8 @@
{ mkDerivation }:
# How to obtain `sha256`:
# nix-prefetch-url --unpack https://github.com/erlang/otp/archive/OTP-${version}.tar.gz
mkDerivation {
version = "25.0-rc3";
sha256 = "1ir42hz81bzxn1shqq0gn824hxd6j774889vjy68psi95psfs8r2";
}

View File

@ -14221,7 +14221,7 @@ with pkgs;
};
inherit (beam.interpreters)
erlang erlangR24 erlangR23 erlangR22 erlangR21
erlang erlangR25 erlangR24 erlangR23 erlangR22 erlangR21
erlang_odbc erlang_javac erlang_odbc_javac erlang_basho_R16B02
elixir elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir_1_9
elixir_ls;

View File

@ -20,6 +20,20 @@ with beam; {
# Standard Erlang versions, using the generic builder.
# R25
erlangR25 = lib.callErlang ../development/interpreters/erlang/R25.nix {
wxGTK = wxGTK30;
parallelBuild = true;
autoconf = buildPackages.autoconf269;
inherit wxSupport systemdSupport;
};
erlangR25_odbc = erlangR25.override { odbcSupport = true; };
erlangR25_javac = erlangR25.override { javacSupport = true; };
erlangR25_odbc_javac = erlangR25.override {
javacSupport = true;
odbcSupport = true;
};
# R24
erlangR24 = lib.callErlang ../development/interpreters/erlang/R24.nix {
wxGTK = wxGTK30;
@ -106,6 +120,7 @@ with beam; {
# Packages built with default Erlang version.
erlang = packages.${defaultVersion};
erlangR25 = packagesWith interpreters.erlangR25;
erlangR24 = packagesWith interpreters.erlangR24;
erlangR23 = packagesWith interpreters.erlangR23;
erlangR22 = packagesWith interpreters.erlangR22;