aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
index 03084e11cf3..47df7f05ceb 100644
--- a/nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-servicefabric/default.nix
@@ -26,11 +26,7 @@ buildPythonPackage rec {
azure-mgmt-nspkg
];
- # this is still needed for overriding to previous versions
- # E.g azure-cli
- postInstall = lib.optionalString isPy3k ''
- rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py
- '';
+ pythonNamespaces = [ "azure.mgmt" ];
# has no tests
doCheck = false;