diff --git a/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix b/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix index 469905525324..16c51f4e537a 100644 --- a/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix +++ b/pkgs/development/python-modules/home-assistant-chip-wheels/default.nix @@ -42,7 +42,7 @@ pylint, pyperclip, pyserial, - python3, + python, python-daemon, pyyaml, requests, @@ -85,7 +85,7 @@ stdenv.mkDerivation rec { # Initialize only necessary submodules. cd connectedhomeip - ${python3}/bin/python3 scripts/checkout_submodules.py --platform linux --shallow + ${python.interpreter} scripts/checkout_submodules.py --platform linux --shallow # Keep the output deterministic. cd $out @@ -105,7 +105,7 @@ stdenv.mkDerivation rec { zap-chip # gdbus-codegen glib - python3 + python # dependencies of build scripts click jinja2 @@ -254,7 +254,7 @@ stdenv.mkDerivation rec { ''chip_config_memory_debug_dmalloc=false'' ''chip_mdns="minimal"'' ''chip_minmdns_default_policy="libnl"'' - ''chip_python_version="${lib.versions.majorMinor python3.version}"'' + ''chip_python_version="${lib.versions.majorMinor python.version}"'' ''chip_python_platform_tag="any"'' ''chip_python_package_prefix="home-assistant-chip"'' ''custom_toolchain="custom"''