azure-cli: fix installing extensions externally
For those of us not using the new azure-cli-extensions mechanism to manage extensions, it is not possible to install or update extensions unless pip is on the PYTHONPATH. This used to be the case by default, but a relatively recent change to either Python packaging (likely6c85fff302
, as identified in other issues) or construction of the PYTHONPATH in this packageaacf05daec
removed it.
This commit is contained in:
parent
ad7efee13e
commit
1c44ccf3a7
1 changed files with 4 additions and 0 deletions
|
@ -229,6 +229,10 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage rec {
|
||||||
wcwidth
|
wcwidth
|
||||||
websocket-client
|
websocket-client
|
||||||
xmltodict
|
xmltodict
|
||||||
|
] ++ lib.optionals (!withImmutableConfig) [
|
||||||
|
# pip is required to install extensions locally, but it's not needed if
|
||||||
|
# we're using the default immutable configuration.
|
||||||
|
pip
|
||||||
];
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
Loading…
Reference in a new issue