python313Packages.home-assistant-chip-wheels: use correct python version
Referring to python3 will choose the default python version, which is different from the python version that matches the package set. When in python3Packages, always use python, not python3.
This commit is contained in:
@@ -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"''
|
||||
|
||||
Reference in New Issue
Block a user