How can we use the azure-cli-extensions packages?


I’m trying to use the azure-cli-extensions.account package (in nixpkgs-unstable), but the base azure-cli package does not seem to be aware of it.

> az # just to show we're using an azure-cli installed outside of nix
zsh: command not found: az

> nix-shell -p

[nix-shell:~]$ az account tenant list
The command requires the extension account. Do you want to install it now? The command will continue to run after the extension is installed. (Y/n):
Run 'az config set extension.use_dynamic_install=yes_without_prompt' to allow installing extensions without prompt.
Default enabled including preview versions for extension installation now. Disabled in May 2024. Use '--allow-preview true' to enable it specifically if needed. Use '--allow-preview false' to install stable version only.
An error occurred. Pip failed with status code 1. Use --debug for more information.

Is there anything that needs to be done to make use of the extension?