Skip to content

Commit

Permalink
azure-cli: only alias removed extensions if allowed
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Oct 1, 2024
1 parent c2294a5 commit 717817b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/az/azure-cli/extensions-manual.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# Checkout ./README.md for more information.

{
config,
lib,
mkAzExtension,
mycli,
Expand Down Expand Up @@ -83,6 +84,8 @@
meta.maintainers = with lib.maintainers; [ katexochen ];
};

}
// lib.optionalAttrs config.allowAliases {
# Removed extensions
blockchain = throw "The 'blockchain' extension for azure-cli was deprecated upstream"; # Added 2024-04-26
vm-repair = throw "The 'vm-repair' extension for azure-cli was deprecated upstream"; # Added 2024-08-06
Expand Down

0 comments on commit 717817b

Please sign in to comment.