pythonPackages.azure-mgmt-servicefabric: fix build
This commit is contained in:
parent
d5b0c114a3
commit
5c100b163d
1 changed files with 3 additions and 2 deletions
|
@ -26,9 +26,10 @@ buildPythonPackage rec {
|
|||
azure-mgmt-nspkg
|
||||
];
|
||||
|
||||
# this is still needed for overriding to previous versions
|
||||
# E.g azure-cli
|
||||
postInstall = lib.optionalString isPy3k ''
|
||||
rm $out/${python.sitePackages}/azure/__init__.py
|
||||
rm $out/${python.sitePackages}/azure/mgmt/__init__.py
|
||||
rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py
|
||||
'';
|
||||
|
||||
# has no tests
|
||||
|
|
Loading…
Reference in a new issue