diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-23 09:16:03 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-30 16:46:52 +0100 |
commit | a1227914e1685b0660907c07e5b51dee84c9180d (patch) | |
tree | d5ab0ededce34513052e3d94432dd1cf266fc4cf /pkgs/development/python-modules/azure-mgmt-dns | |
parent | 5c100b163d86e5e257f90aa2804aaae92f824b54 (diff) | |
download | nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar.gz nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar.bz2 nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar.lz nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar.xz nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.tar.zst nixpkgs-a1227914e1685b0660907c07e5b51dee84c9180d.zip |
python3Packages.azure-mgmt-dns: fix build
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-dns')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-dns/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-dns/default.nix b/pkgs/development/python-modules/azure-mgmt-dns/default.nix index 89ae5912b39..0f1527f688b 100644 --- a/pkgs/development/python-modules/azure-mgmt-dns/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-dns/default.nix @@ -26,9 +26,10 @@ buildPythonPackage rec { azure-mgmt-nspkg ]; + # this is still needed for when the version is overrided + # to previous versions. E.g azure-cli postInstall = lib.optionalString isPy3k '' - rm $out/${python.sitePackages}/azure/__init__.py - rm $out/${python.sitePackages}/azure/mgmt/__init__.py + rm -f $out/${python.sitePackages}/azure/{,mgmt/}__init__.py ''; # has no tests |