diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-10-23 03:05:37 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-23 19:47:04 -0800 |
commit | 1b056e6d15ec31bd5b8992f0ffffeaff641d1586 (patch) | |
tree | ae00108e09f038135afebfbc0ff2cca965f30e70 /pkgs | |
parent | 94a2bab032a623f07ae4b05b8bb88ec3d6207dfa (diff) | |
download | nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar.gz nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar.bz2 nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar.lz nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar.xz nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.tar.zst nixpkgs-1b056e6d15ec31bd5b8992f0ffffeaff641d1586.zip |
python3Packages.azure-mgmt-batchai: fix python3 namespace
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-batchai/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix index e1938738597..6da0cf2210c 100644 --- a/pkgs/development/python-modules/azure-mgmt-batchai/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-batchai/default.nix @@ -24,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; |