diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-24 00:58:56 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-23 19:47:04 -0800 |
commit | 67ca54a677efb5b2188a3a888b8b42265d52a435 (patch) | |
tree | 399b9a0d1dc256c405d2fb7e00d9ae5681e93ef9 /pkgs | |
parent | 3ff0fa20b6371a469829a1eba69f3f552234aa56 (diff) | |
download | nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar.gz nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar.bz2 nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar.lz nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar.xz nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.tar.zst nixlib-67ca54a677efb5b2188a3a888b8b42265d52a435.zip |
pythonPackages.azure-mgmt-consumption: fix python3 namespace
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-consumption/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix index 59b4cbee5bf4..b69e4b649deb 100644 --- a/pkgs/development/python-modules/azure-mgmt-consumption/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-consumption/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, python +, isPy3k , msrestazure , azure-common , azure-mgmt-nspkg @@ -22,6 +24,11 @@ buildPythonPackage rec { azure-mgmt-nspkg ]; + postInstall = lib.optionalString isPy3k '' + rm $out/${python.sitePackages}/azure/__init__.py + rm $out/${python.sitePackages}/azure/mgmt/__init__.py + ''; + # has no tests doCheck = false; |