Skip to content

Commit

Permalink
azure-cli: only alias removed extensions if allowed (NixOS#345698)
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen authored Oct 2, 2024
2 parents ba55bb1 + 717817b commit da60a43
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 da60a43

Please sign in to comment.