about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2024-06-02 15:20:23 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2024-06-18 20:45:36 +0000
commitd2fdbff90c87f8bbd127cdbe743083b552a2f31b (patch)
tree6fd387af942bf983d79a64d89451b934562fe15a
parent081215d2ebeb8984b11e7ac8fbdcd3fdbe67bfe8 (diff)
top-level/aliases: Clean up outdated Nix aliases backport-316664-to-release-24.05
- Nix 2.6 was removed on 2022-12-28: 172347745ffb457e47cf5386f2ae3ff6678c2b02
- Nix 2.4 and 2.5 were removed on 2022-07-14: b2eea05b06baa2886039d61485d37c338ad3d578
- `nixVersions.unstable` throws but it does not mention the alias: 2b4e18f3d4a7b80af21b640c0970f83b34efceff

(cherry picked from commit b8873a8a8038db832d5c8620bac1a7f7e773cce6)
-rw-r--r--pkgs/top-level/aliases.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index a6663e87b644c..87b18097a5dc7 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -880,11 +880,8 @@ mapAliases ({
   nix-template-rpm = throw "'nix-template-rpm' has been removed as it is broken and unmaintained"; # Added 2023-11-20
   nixFlakes = nixVersions.stable; # Added 2021-05-21
   nixStable = nixVersions.stable; # Added 2022-01-24
-  nixUnstable = nixVersions.unstable; # Added 2022-01-26
+  nixUnstable = throw "nixUnstable has been removed. For bleeding edge (Nix master, roughly weekly updated) use nixVersions.git, otherwise use nixVersions.latest."; # Converted to throw 2024-04-22
   nix_2_3 = nixVersions.nix_2_3;
-  nix_2_4 = nixVersions.nix_2_4;
-  nix_2_5 = nixVersions.nix_2_5;
-  nix_2_6 = nixVersions.nix_2_6;
   nixfmt = lib.warn "nixfmt was renamed to nixfmt-classic. The nixfmt attribute may be used for the new RFC 166-style formatter in the future, which is currently available as nixfmt-rfc-style" nixfmt-classic; # Added 2024-03-31
   nixops = throw "'nixops' has been removed. Please use 'nixops_unstable_minimal' for the time being. E.g. nixops_unstable_minimal.withPlugins (ps: [ ps.nixops-gce ])"; # Added 2023-10-26
   nixopsUnstable = nixops_unstable; # Added 2022-03-03