diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-24 09:06:46 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-23 19:47:04 -0800 |
commit | 3aad4fa8d62149c87d33798866b7401d818eedad (patch) | |
tree | 3eca68cd7004959c6c8f0c13ca0876f2f227e971 /pkgs/development/python-modules/azure-mgmt-relay | |
parent | a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3 (diff) | |
download | nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar.gz nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar.bz2 nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar.lz nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar.xz nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.tar.zst nixlib-3aad4fa8d62149c87d33798866b7401d818eedad.zip |
pythonPackages.azure-mgmt-relay: fix python3 namespace
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-relay')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-relay/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-relay/default.nix b/pkgs/development/python-modules/azure-mgmt-relay/default.nix index 718cd9854437..5046bf8740fd 100644 --- a/pkgs/development/python-modules/azure-mgmt-relay/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-relay/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; |