diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-12-23 09:26:30 -0800 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-12-30 16:46:52 +0100 |
commit | 264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb (patch) | |
tree | 1c5fbe27c2601107a23d9734c7826416dffd0214 /pkgs/development/python-modules/azure-mgmt-relay | |
parent | e23712ab688d92dbf4b66955ace49780f596d666 (diff) | |
download | nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar.gz nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar.bz2 nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar.lz nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar.xz nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.tar.zst nixlib-264211ecbf139e7ed89e2ee8b016d1ceb2a9dfeb.zip |
python3Packages.azure-mgmt-relay: fix build
Diffstat (limited to 'pkgs/development/python-modules/azure-mgmt-relay')
-rw-r--r-- | pkgs/development/python-modules/azure-mgmt-relay/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/azure-mgmt-relay/default.nix b/pkgs/development/python-modules/azure-mgmt-relay/default.nix index 5046bf8740fd..b60a82a7b1ad 100644 --- a/pkgs/development/python-modules/azure-mgmt-relay/default.nix +++ b/pkgs/development/python-modules/azure-mgmt-relay/default.nix @@ -24,9 +24,10 @@ buildPythonPackage rec { azure-mgmt-nspkg ]; + # still needed when overriding 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 |