Skip to content

Commit

Permalink
erlang_21: remove
Browse files Browse the repository at this point in the history
  • Loading branch information
superherointj committed Mar 21, 2023
1 parent a06641b commit 0768a2e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
7 changes: 0 additions & 7 deletions pkgs/development/interpreters/erlang/21.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,7 +439,9 @@ 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 erlangR21; # added 2023-03-21
inherit (beam.interpreters) erlangR25 erlangR24 erlangR23 erlangR22; # added 2023-03-21
erlang_21 = throw "erlangR21 has been removed in favor of newer versions."; # added 2023-03-21
erlangR21 = erlang_21;
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_21
erlang erlang_25 erlang_24 erlang_23 erlang_22
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
16 changes: 1 addition & 15 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" "21" ];
versionLoop = f: lib.lists.foldr (version: acc: (f version) // acc) { } [ "25" "24" "23" "22" ];

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

erlang_21 = self.beamLib.callErlang ../development/interpreters/erlang/21.nix {
openssl = openssl_1_1;
wxGTK = wxGTK32;
autoconf = buildPackages.autoconf269;
inherit wxSupport systemdSupport;
};
erlang_21_odbc = self.interpreters.erlang_21.override { odbcSupport = true; };
erlang_21_javac = self.interpreters.erlang_21.override { javacSupport = true; };
erlang_21_odbc_javac = self.interpreters.erlang_21.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 @@ -132,6 +119,5 @@ in
erlang_24 = self.packagesWith self.interpreters.erlang_24;
erlang_23 = self.packagesWith self.interpreters.erlang_23;
erlang_22 = self.packagesWith self.interpreters.erlang_22;
erlang_21 = self.packagesWith self.interpreters.erlang_21;
} // packagesAliases;
}

0 comments on commit 0768a2e

Please sign in to comment.