diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-23 09:18:47 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-30 16:46:52 +0100 |
commit | 3b27da9f3885cb391382d1035828340046ee4ae7 (patch) | |
tree | 3a7fbc3a552dc0ce6945df7071ec9187766f5a84 | |
parent | a1227914e1685b0660907c07e5b51dee84c9180d (diff) | |
download | nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar.gz nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar.bz2 nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar.lz nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar.xz nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.tar.zst nixpkgs-3b27da9f3885cb391382d1035828340046ee4ae7.zip |
python3Packages.azure-mgmt-keyvault: fix build
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-keyvault/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix index e3529bda8d2..26918fbd7db 100644 --- a/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-keyvault/default.nix @@ -26,9 +26,10 @@ buildPythonPackage rec { azure-mgmt-nspkg ]; + # this is still need when overriding to prevoius 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 |