aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/azure-mgmt-dns
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-04-19 14:57:25 +0200
commit0ca211d4ec600fa7b3cc701e4997cd1e8d38ebdc (patch)
tree4f9b09ca5d55e44710f020bcf6621daa4fd6b73a /nixpkgs/pkgs/development/python-modules/azure-mgmt-dns
parent1c2ef52230ed2c8b2529c47ce6a857bdde46c7c7 (diff)
parentb61999e4ad60c351b4da63ae3ff43aae3c0bbdfb (diff)
Merge commit 'b61999e4ad60c351b4da63ae3ff43aae3c0bbdfb'
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/azure-mgmt-dns')
-rw-r--r--nixpkgs/pkgs/development/python-modules/azure-mgmt-dns/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/azure-mgmt-dns/default.nix b/nixpkgs/pkgs/development/python-modules/azure-mgmt-dns/default.nix
index 0f1527f688b..ce467dba31d 100644
--- a/nixpkgs/pkgs/development/python-modules/azure-mgmt-dns/default.nix
+++ b/nixpkgs/pkgs/development/python-modules/azure-mgmt-dns/default.nix
@@ -27,10 +27,7 @@ buildPythonPackage rec {
];
# this is still needed for when the version is overrided
- # 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;