Skip to content

Commit

Permalink
erlang_22: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
superherointj committed Mar 22, 2023
1 parent 0768a2e commit 3b24ddf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 26 deletions.
7 changes: 0 additions & 7 deletions pkgs/development/interpreters/erlang/22.nix

This file was deleted.

4 changes: 3 additions & 1 deletion pkgs/top-level/aliases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,11 @@ mapAliases ({
enyo-doom = enyo-launcher; # Added 2022-09-09
epoxy = libepoxy; # Added 2021-11-11
epsxe = throw "epsxe has been removed from nixpkgs, as it was unmaintained."; # added 2021-12-15
inherit (beam.interpreters) erlangR25 erlangR24 erlangR23 erlangR22; # added 2023-03-21
inherit (beam.interpreters) erlangR25 erlangR24 erlangR23; # added 2023-03-21
erlang_21 = throw "erlangR21 has been removed in favor of newer versions."; # added 2023-03-21
erlangR21 = erlang_21;
erlang_22 = throw "erlangR22 has been removed in favor of newer versions."; # added 2023-03-21
erlangR22 = erlang_22;
esniper = throw "esniper has been removed because upstream no longer maintains it (and it no longer works)"; # Added 2021-04-12
etcdctl = throw "'etcdctl' has been renamed to/replaced by 'etcd'"; # Converted to throw 2022-02-22
eteroj.lv2 = throw "'eteroj.lv2' has been renamed to/replaced by 'open-music-kontrollers.eteroj'"; # Added 2022-03-09
Expand Down
2 changes: 1 addition & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16578,7 +16578,7 @@ with pkgs;
};

inherit (beam.interpreters)
erlang erlang_25 erlang_24 erlang_23 erlang_22
erlang erlang_25 erlang_24 erlang_23
erlang_odbc erlang_javac erlang_odbc_javac
elixir elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10
elixir-ls;
Expand Down
18 changes: 1 addition & 17 deletions pkgs/top-level/beam-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let
self = beam;

# Aliases added 2023-03-21
versionLoop = f: lib.lists.foldr (version: acc: (f version) // acc) { } [ "25" "24" "23" "22" ];
versionLoop = f: lib.lists.foldr (version: acc: (f version) // acc) { } [ "25" "24" "23" ];

interpretersAliases = versionLoop (version: {
"erlangR${version}" = self.interpreters."erlang_${version}";
Expand Down Expand Up @@ -84,21 +84,6 @@ in
odbcSupport = true;
};

erlang_22 = self.beamLib.callErlang ../development/interpreters/erlang/22.nix {
openssl = openssl_1_1;
wxGTK = wxGTK32;
# Can be enabled since the bug has been fixed in https://github.com/erlang/otp/pull/2508
parallelBuild = true;
autoconf = buildPackages.autoconf269;
inherit wxSupport systemdSupport;
};
erlang_22_odbc = self.interpreters.erlang_22.override { odbcSupport = true; };
erlang_22_javac = self.interpreters.erlang_22.override { javacSupport = true; };
erlang_22_odbc_javac = self.interpreters.erlang_22.override {
javacSupport = true;
odbcSupport = true;
};

# Other Beam languages. These are built with `beam.interpreters.erlang`. To
# access for example elixir built with different version of Erlang, use
# `beam.packages.erlang_24.elixir`.
Expand All @@ -118,6 +103,5 @@ in
erlang_25 = self.packagesWith self.interpreters.erlang_25;
erlang_24 = self.packagesWith self.interpreters.erlang_24;
erlang_23 = self.packagesWith self.interpreters.erlang_23;
erlang_22 = self.packagesWith self.interpreters.erlang_22;
} // packagesAliases;
}

0 comments on commit 3b24ddf

Please sign in to comment.