mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 21:04:30 +00:00
Merge pull request #314335 from chiroptical/chiroptical/erlang-deprecations
erlang_21: remove; erlang_22: remove; erlang_23: remove; erlangR24: remove; erlangR25: remove; erlangR26: remove; erlangR: remove
This commit is contained in:
commit
e22b1a7d7b
@ -334,14 +334,21 @@ mapAliases ({
|
||||
enchant1 = throw "enchant1 has been removed from nixpkgs, as it was unmaintained"; # Added 2023-01-18
|
||||
enyo-doom = enyo-launcher; # Added 2022-09-09
|
||||
epoxy = libepoxy; # Added 2021-11-11
|
||||
inherit (beam.interpreters) erlangR26 erlangR25 erlangR24; # 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;
|
||||
erlang_23 = throw "erlangR23 has been removed in favor of newer versions."; # added 2023-09-11
|
||||
erlangR23 = erlang_23;
|
||||
|
||||
erlang_27-rc3 = throw "erlang_27-rc3 has been removed in favor of erlang_27"; # added 2024-05-20
|
||||
erlangR24 = throw "erlangR24 has been removed in favor of erlang_24"; # added 2024-05-24
|
||||
erlangR24_odbc = throw "erlangR24_odbc has been removed in favor of erlang_24_odbc"; # added 2024-05-24
|
||||
erlangR24_javac = throw "erlangR24_javac has been removed in favor of erlang_24_javac"; # added 2024-05-24
|
||||
erlangR24_odbc_javac = throw "erlangR24_odbc_javac has been removed in favor of erlang_24_odbc_javac"; # added 2024-05-24
|
||||
erlangR25 = throw "erlangR25 has been removed in favor of erlang_25"; # added 2024-05-24
|
||||
erlangR25_odbc = throw "erlangR25_odbc has been removed in favor of erlang_25_odbc"; # added 2024-05-24
|
||||
erlangR25_javac = throw "erlangR25_javac has been removed in favor of erlang_25_javac"; # added 2024-05-24
|
||||
erlangR25_odbc_javac = throw "erlangR25_odbc_javac has been removed in favor of erlang_25_odbc_javac"; # added 2024-05-24
|
||||
erlangR26 = throw "erlangR26 has been removed in favor of erlang_26"; # added 2024-05-24
|
||||
erlangR26_odbc = throw "erlangR26_odbc has been removed in favor of erlang_26_odbc"; # added 2024-05-24
|
||||
erlangR26_javac = throw "erlangR26_javac has been removed in favor of erlang_26_javac"; # added 2024-05-24
|
||||
erlangR26_odbc_javac = throw "erlangR26_odbc_javac has been removed in favor of erlang_26_odbc_javac"; # added 2024-05-24
|
||||
|
||||
etcd_3_3 = throw "etcd_3_3 has been removed because upstream no longer maintains it"; # Added 2023-09-29
|
||||
etcher = throw "'etcher' has been removed because it depended on an insecure version of Electron"; # Added 2024-03-14
|
||||
eterm = throw "eterm was removed because it is still insecure: https://github.com/mej/Eterm/issues/7"; # Added 2023-09-10
|
||||
|
@ -12,18 +12,6 @@
|
||||
let
|
||||
self = beam;
|
||||
|
||||
# Aliases added 2023-03-21
|
||||
versionLoop = f: lib.lists.foldr (version: acc: (f version) // acc) { } [ "26" "25" "24" ];
|
||||
|
||||
interpretersAliases = versionLoop (version: {
|
||||
"erlangR${version}" = self.interpreters."erlang_${version}";
|
||||
"erlangR${version}_odbc" = self.interpreters."erlang_${version}_odbc";
|
||||
"erlangR${version}_javac" = self.interpreters."erlang_${version}_javac";
|
||||
"erlangR${version}_odbc_javac" = self.interpreters."erlang_${version}_odbc_javac";
|
||||
});
|
||||
|
||||
packagesAliases = versionLoop (version: { "erlangR${version}" = self.packages."erlang_${version}"; });
|
||||
|
||||
in
|
||||
|
||||
{
|
||||
@ -95,7 +83,7 @@ in
|
||||
# `beam.packages.erlang_24.elixir`.
|
||||
inherit (self.packages.erlang)
|
||||
elixir elixir_1_16 elixir_1_15 elixir_1_14 elixir_1_13 elixir_1_12 elixir_1_11 elixir_1_10 elixir-ls lfe lfe_2_1;
|
||||
} // interpretersAliases;
|
||||
};
|
||||
|
||||
# Helper function to generate package set with a specific Erlang version.
|
||||
packagesWith = erlang:
|
||||
@ -109,7 +97,7 @@ in
|
||||
erlang_26 = self.packagesWith self.interpreters.erlang_26;
|
||||
erlang_25 = self.packagesWith self.interpreters.erlang_25;
|
||||
erlang_24 = self.packagesWith self.interpreters.erlang_24;
|
||||
} // packagesAliases;
|
||||
};
|
||||
|
||||
__attrsFailEvaluation = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user