about summary refs log tree commit diff
path: root/pkgs/top-level/aliases.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2024-02-28 15:49:46 +0100
committerRobert Hensing <robert@roberthensing.nl>2024-03-06 22:47:22 +0100
commit4a29e5442d66d939abf6216894bedfdb79ae3a15 (patch)
treea946e33ebc147c9ebfca29f33767d66b2c1f9f2b /pkgs/top-level/aliases.nix
parentf250290d9a6214d34eb9700a80ea280302169a4e (diff)
downloadnixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar.gz
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar.bz2
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar.lz
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar.xz
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.tar.zst
nixlib-4a29e5442d66d939abf6216894bedfdb79ae3a15.zip
nixops_unstable -> nixops_unstable_minimal.withPlugins
Providing the whole set by default is not feasible, and anything
smaller than that would be too arbitrary.

The aliases.nix error message puts users on the right path to get
exactly the plugins they need.

nixops_unstable_full probably won't be in a buildable state, so
we can't recommend it. It may be useful for CI.
Diffstat (limited to 'pkgs/top-level/aliases.nix')
-rw-r--r--pkgs/top-level/aliases.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index be6927bc33ed..fc9248b519a8 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -782,8 +782,12 @@ mapAliases ({
   nix_2_4 = nixVersions.nix_2_4;
   nix_2_5 = nixVersions.nix_2_5;
   nix_2_6 = nixVersions.nix_2_6;
-  nixops = throw "'nixops' has been removed. Please use 'nixops_unstable' for the time being."; # Added 2023-10-26
+  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
+
+  # When the nixops_unstable alias is removed, nixops_unstable_minimal can be renamed to nixops_unstable.
+  nixops_unstable = throw "nixops_unstable has been replaced. Please use for example 'nixops_unstable_minimal.withPlugins (ps: [ ps.nixops-gce ps.nixops-encrypted-links ])' instead"; # Added 2024-02-28
+
   nixosTest = testers.nixosTest; # Added 2022-05-05
   nmap-unfree = nmap; # Added 2021-04-06
   nodejs_14 = throw "nodejs_14 has been removed as it is EOL."; # Added 2023-10-30