platformio-chrootenv: add cmake, ninja, wheel, virtualenv

esp-idf and Zephyr create Python venvs during builds and need these
tools. Without them, framework builds fail with 'No module named pip'.

Fixes: https://github.com/NixOS/nixpkgs/issues/133185
This commit is contained in:
Jamie Magee
2026-04-08 21:43:26 -07:00
parent 78b29dfb83
commit e01a584a0f
@@ -17,11 +17,18 @@ let
xdg-user-dirs
ncurses
udev
# Required for esp-idf and other frameworks that manage their own
# Python virtual environments during the build process.
# See: https://github.com/NixOS/nixpkgs/issues/133185
cmake
ninja
])
++ (with python.pkgs; [
python
setuptools
pip
wheel
virtualenv
bottle
]);