katyo / zephyr-rtos.nix

Battle-tested nix env for Zephyr RTOS developers
14 stars 0 forks source link

Use Nix to setup the Python environment of SDK #5

Closed otavio closed 10 months ago

otavio commented 1 year ago

In an internal project, we use Nix for the development environment but until now we still use Docker for the SDK inside the CI. We'd like to use the same environment on CI but due to how the venv activation works, it fails.

Is it possible to get the Python environment of SDK in Nix?

katyo commented 1 year ago

@otavio Good idea but note that some python dependencies still lacks in NixOS repo. In any case we should instantiate environment from requirements.txt which contained in Zephyr. Currently I don't know an easy nix-based way to do it.

otavio commented 1 year ago

I know two options:

otavio commented 1 year ago

Did you evaluate any of those options?

otavio commented 11 months ago

Fixed in #8