azure-cli: minor improvements

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2024-08-21 07:55:40 +02:00
parent 4cd3ebe12b
commit 595f30f824
2 changed files with 5 additions and 8 deletions

View File

@ -66,13 +66,10 @@
url = "https://azcliprod.blob.core.windows.net/cli-extensions/ssh-${version}-py3-none-any.whl";
sha256 = "80c98b10d7bf1ce4005b7694aedd05c47355456775ba6125308be65fb0fefc93";
description = "SSH into Azure VMs using RBAC and AAD OpenSSH Certificates";
propagatedBuildInputs = (
with python3Packages;
[
oras
oschmod
]
);
propagatedBuildInputs = with python3Packages; [
oras
oschmod
];
meta.maintainers = with lib.maintainers; [ gordon-bp ];
};

View File

@ -223,7 +223,7 @@ py.pkgs.toPythonApplication (
postInstall =
''
substituteInPlace az.completion.sh \
--replace register-python-argcomplete ${py.pkgs.argcomplete}/bin/register-python-argcomplete
--replace-fail register-python-argcomplete ${py.pkgs.argcomplete}/bin/register-python-argcomplete
installShellCompletion --bash --name az.bash az.completion.sh
installShellCompletion --zsh --name _az az.completion.sh
''