Closed vBruegge closed 8 months ago
I've also noticed that. The reason is that nixpkgs-unstable
recently switched the default Python version from 3.10 to 3.11. This breaks several packages, which are needed by ROS. I tried to work around this by pinning humble to using python310
(in distros/default.nix
), but it doesn't work, because it results in some packages using 3.10 and some 3.11, leading to a conflict. So we will probably have to solve the problems one by one, porting things to 3.11, and it will take some time. I want to look at it this week, however, I'm not sure how much work it will be.
If you just want to have your flake running, use older nixpkgs version stored in nix-ros-overlay flake, as I suggest in https://github.com/lopsided98/nix-ros-overlay/issues/315#issuecomment-1793575795.
BTW, the fix mentioned by @vBruegge is already in nixos-unstable
. I can now build the develop
branch against the latest nixpkgs/nixos-unstable
without problems.
I'm currently running nixos-unstable and wanted to install rqt for my ROS project. Whenever I add the package to the flake, I get the error:
error: pyside2 not supported for interpreter python3.11
This issue occured also for freecad and was there fixed here. Since I'm not sure, how you can change this for the ros-overlay, it would be great if somebody could either help me. Here is my flake for installing ros:Thanks in advance!