python3Packages.azure-mgmt-keyvault: fix build

This commit is contained in:
Jonathan Ringer 2019-12-23 09:18:47 -08:00 committed by Frederik Rietdijk
parent a1227914e1
commit 3b27da9f38

View File

@ -26,9 +26,10 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
# this is still need when overriding to prevoius 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