From ec040f0084e0d2b7b61d7609fb633233c153fd31 Mon Sep 17 00:00:00 2001 From: Gerhard Schwanzer Date: Mon, 6 Jul 2026 08:17:52 +0200 Subject: [PATCH] azure-cli-extensions.interactive: fix build Relax both prompt-toolkit dependency spellings from the upstream wheel metadata so the extension can build with nixpkgs prompt-toolkit. Assisted-by: pi coding agent / Mika (OpenAI GPT-5.5) --- pkgs/by-name/az/azure-cli/extensions-manual.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/az/azure-cli/extensions-manual.nix b/pkgs/by-name/az/azure-cli/extensions-manual.nix index 4b289cedf94e..c4c4a8296948 100644 --- a/pkgs/by-name/az/azure-cli/extensions-manual.nix +++ b/pkgs/by-name/az/azure-cli/extensions-manual.nix @@ -247,6 +247,11 @@ url = "https://azcliprod.blob.core.windows.net/cli-extensions/interactive-1.0.0b1-py2.py3-none-any.whl"; hash = "sha256-COvHDhvsigEEMYlMQ2hHFKzjX7WwdkwfT9id6z+Sj7w="; description = "Microsoft Azure Command-Line Interactive Shell"; + # The wheel contains Requires-Dist entries for both spellings. + pythonRelaxDeps = [ + "prompt_toolkit" + "prompt-toolkit" + ]; propagatedBuildInputs = with python3Packages; [ prompt-toolkit ];