diff options
author | adisbladis <adisbladis@gmail.com> | 2023-04-01 19:33:08 +1300 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2023-04-01 19:34:06 +1300 |
commit | bd3361bcfb3332ed8209a748c350532195267ef0 (patch) | |
tree | 6ac68c6d01fb8bd1915fee570138274b2ab999ec /pkgs/development/embedded | |
parent | fcbc5d74e73dbac4d2bb28c628a09630561b52d1 (diff) |
platformio: ensure coherent python interpreter with platformio-core
Diffstat (limited to 'pkgs/development/embedded')
-rw-r--r-- | pkgs/development/embedded/platformio/chrootenv.nix | 2 | ||||
-rw-r--r-- | pkgs/development/embedded/platformio/core.nix | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/embedded/platformio/chrootenv.nix b/pkgs/development/embedded/platformio/chrootenv.nix index 3f4a7e7385dc5..b914743f51525 100644 --- a/pkgs/development/embedded/platformio/chrootenv.nix +++ b/pkgs/development/embedded/platformio/chrootenv.nix @@ -3,7 +3,7 @@ let pio-pkgs = pkgs: let - python = pkgs.python3; + inherit (platformio-core) python; in (with pkgs; [ platformio-core diff --git a/pkgs/development/embedded/platformio/core.nix b/pkgs/development/embedded/platformio/core.nix index 1ac707f014616..81ad2354c99af 100644 --- a/pkgs/development/embedded/platformio/core.nix +++ b/pkgs/development/embedded/platformio/core.nix @@ -162,6 +162,10 @@ with python3.pkgs; buildPythonApplication rec { "test_pkgmanifest.py::test_packages" ]); + passthru = { + python = python3; + }; + meta = with lib; { description = "An open source ecosystem for IoT development"; homepage = "https://platformio.org"; |