From fee3da6847d29581f50a0be7094ca14625a634f6 Mon Sep 17 00:00:00 2001 From: superherointj <5861043+superherointj@users.noreply.github.com> Date: Mon, 16 Jan 2023 08:50:22 -0300 Subject: [PATCH] erlang: set version as latest --- pkgs/top-level/beam-packages.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/top-level/beam-packages.nix b/pkgs/top-level/beam-packages.nix index e5dcff00a5bd..2d0fde6d079c 100644 --- a/pkgs/top-level/beam-packages.nix +++ b/pkgs/top-level/beam-packages.nix @@ -15,17 +15,15 @@ in { beamLib = callPackage ../development/beam-modules/lib.nix { }; - # R24 is the default version. - # The main switch to change default Erlang version. - defaultVersion = "erlangR24"; + latestVersion = "erlangR25"; # Each interpreters = { - erlang = self.interpreters.${self.defaultVersion}; - erlang_odbc = self.interpreters."${self.defaultVersion}_odbc"; - erlang_javac = self.interpreters."${self.defaultVersion}_javac"; - erlang_odbc_javac = self.interpreters."${self.defaultVersion}_odbc_javac"; + erlang = self.interpreters.${self.latestVersion}; + erlang_odbc = self.interpreters."${self.latestVersion}_odbc"; + erlang_javac = self.interpreters."${self.latestVersion}_javac"; + erlang_odbc_javac = self.interpreters."${self.latestVersion}_odbc_javac"; # Standard Erlang versions, using the generic builder. @@ -120,8 +118,7 @@ in # Each field in this tuple represents all Beam packages in nixpkgs built with # appropriate Erlang/OTP version. packages = { - # Packages built with default Erlang version. - erlang = self.packages.${self.defaultVersion}; + erlang = self.packages.${self.latestVersion}; erlangR25 = self.packagesWith self.interpreters.erlangR25; erlangR24 = self.packagesWith self.interpreters.erlangR24;