lopsided98 / nix-ros-overlay

ROS overlay for the Nix package manager
Apache License 2.0
174 stars 68 forks source link

panda-moveit-config causes collision when included in ros-env (buildEnv) #386

Closed henrispriet closed 2 months ago

henrispriet commented 2 months ago

panda-moveit-config builds fine on its own, but when it is included in ros-env, it breaks.

with pkgs.rosPackages.noetic;
pkgs.mkShell {
    packages = [
        (buildEnv {
            paths = [ panda-moveit-config ];
        })
    ];
}

Error message:

@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
error: collision between `/nix/store/fylj4985hk0d9ck4jldqzy2jbi9h27na-ros-noetic-python-qt-binding-0.4.4-r1/share/python_qt_binding/cmake/sip_configure.py' and `/nix/store/k5hy73mfzdyw9dl9ljg05rzzmf2waqg1-ros-noetic-python-qt-binding-0.4.4-r1/share/python_qt_binding/cmake/sip_configure.py'
henrispriet commented 2 months ago

I believe the issue arises due to this override for rviz, which changes one line in python-qt-bingings.

lopsided98 commented 2 months ago

Yes, see https://github.com/lopsided98/nix-ros-overlay/issues/301 for more discussion of this problem.

henrispriet commented 2 months ago

Alright, closing since it's a duplicate.