From e01a584a0ff478d4353107588d3a7562d60025bf Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Wed, 8 Apr 2026 21:31:18 -0700 Subject: [PATCH] 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 --- pkgs/by-name/pl/platformio-chrootenv/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/pl/platformio-chrootenv/package.nix b/pkgs/by-name/pl/platformio-chrootenv/package.nix index edec21cc2322..6e9b2710320c 100644 --- a/pkgs/by-name/pl/platformio-chrootenv/package.nix +++ b/pkgs/by-name/pl/platformio-chrootenv/package.nix @@ -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 ]);