azure-cli: add passthru function to override extensions

Some syntactical sugar for easy overrides.
This commit is contained in:
Paul Meyer 2024-02-07 21:06:02 +01:00
parent 4efe7f9360
commit d6030ed90c
1 changed files with 3 additions and 0 deletions

View File

@ -13,6 +13,8 @@
# List of extensions/plugins to include.
, withExtensions ? [ ]
, azure-cli
}:
let
@ -337,6 +339,7 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
passthru = {
inherit extensions;
withExtensions = extensions: azure-cli.override { withExtensions = extensions; };
};
meta = with lib; {