1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

python3Packages.azure-mgmt-devtestlabs: fix build

This commit is contained in:
Jonathan Ringer 2019-12-23 09:25:34 -08:00 committed by Frederik Rietdijk
parent 0e700d79c8
commit 3ecc1f94be

View file

@ -27,9 +27,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