azure-cli: migrate to Python38
This commit is contained in:
parent
fed997f561
commit
a35390d92b
@ -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";
|
||||
|
||||
|
@ -944,7 +944,7 @@ in
|
||||
|
||||
iamy = callPackage ../tools/admin/iamy { };
|
||||
|
||||
azure-cli = callPackage ../tools/admin/azure-cli { python = python37; };
|
||||
azure-cli = callPackage ../tools/admin/azure-cli { };
|
||||
|
||||
azure-storage-azcopy = callPackage ../development/tools/azcopy { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user