diff options
author | freezeboy <freezeboy@users.noreply.github.com> | 2020-11-13 21:00:39 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-27 22:59:27 -0800 |
commit | a35390d92b32a708390f52fde0e8bb888b2af473 (patch) | |
tree | 134f154ee209bbfc9a3b9605fea9b50489807282 /pkgs/tools/admin/azure-cli | |
parent | fed997f561dfa7f22a4fe2df42168d767efc5d09 (diff) |
azure-cli: migrate to Python38
Diffstat (limited to 'pkgs/tools/admin/azure-cli')
-rw-r--r-- | pkgs/tools/admin/azure-cli/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/tools/admin/azure-cli/default.nix b/pkgs/tools/admin/azure-cli/default.nix index 820fef1a74aa1..dbd8de5fe55aa 100644 --- a/pkgs/tools/admin/azure-cli/default.nix +++ b/pkgs/tools/admin/azure-cli/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, python, fetchFromGitHub, installShellFiles }: +{ stdenv, lib, python3, fetchFromGitHub, installShellFiles }: let version = "2.14.2"; @@ -10,12 +10,14 @@ let }; # put packages that needs to be overriden in the py package scope - py = import ./python-packages.nix { inherit stdenv python lib src version; }; + py = import ./python-packages.nix { + inherit stdenv lib src version; + python = python3; + }; in py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage { pname = "azure-cli"; inherit version src; - disabled = python.isPy27; # namespacing assumes PEP420, which isn't compat with py2 sourceRoot = "source/src/azure-cli"; |