python3Packages.azure-mgmt-msi: fix build

wip/yesman
Jonathan Ringer 5 years ago committed by Frederik Rietdijk
parent 3ecc1f94be
commit e23712ab68
  1. 5
      pkgs/development/python-modules/azure-mgmt-msi/default.nix

@ -26,9 +26,10 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
# still needed when 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…
Cancel
Save