diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-24 09:06:26 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-23 19:47:04 -0800 |
commit | a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3 (patch) | |
tree | 06367c6d8a79f8627ba52739516e37b9ec32bcc8 /pkgs/development/python-modules/azure-mgmt-msi | |
parent | 59521a9b33d82df52599e0bb64e1ec268889dd24 (diff) | |
download | nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar.gz nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar.bz2 nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar.lz nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar.xz nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.tar.zst nixpkgs-a17947cbea9f1d5a16e9d2c47cda56b5cfe18ad3.zip |
pythonPackages.azure-mgmt-msi: fix python3 namespace
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-msi')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-msi/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-msi/default.nix b/pkgs/development/python-modules/azure-mgmt-msi/default.nix index 9b1d0bf5a2b..87e70c2fdcc 100644 --- a/pkgs/development/python-modules/azure-mgmt-msi/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-msi/default.nix @@ -1,6 +1,8 @@ { lib , buildPythonPackage , fetchPypi +, python +, isPy3k , msrest , msrestazure , azure-common @@ -24,6 +26,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; |