-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build moveit-ros-planning-interface #318
Comments
Add |
It's already there |
I'm sorry, I hadn't noticed. Then try to encapsulate your packages inside a buildInputs = with pkgs; with pkgs.rosPackages.humble; [
(buildEnv {
paths = [
# packages
# ...
];
})
] |
Still not working {
description = "Testing ROS on NixOS";
nixConfig = {
substituters = [
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
"https://ros.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"ros.cachix.org-1:dSyZxI8geDCJrwgvCOHDoAfOm5sV1wCPjBkKL+38Rvo="
];
};
inputs = {
flake-utils.url = "github:numtide/flake-utils";
ros-flake.url = "github:lopsided98/nix-ros-overlay";
};
outputs = { self, nixpkgs, flake-utils, ros-flake }:
# flake-utils.lib.eachDefaultSystem (system:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
overlays = [ros-flake.overlays.default (import ./replace-ompl.nix)];
};
in
{
devShells.x86_64-linux.default = pkgs.mkShell {
name = "ros devenv";
buildInputs = with pkgs; with pkgs.rosPackages.humble; [
(buildEnv {
paths = [
pkg-config
cairo
eigen
pcl
pcl-conversions
ament-cmake-core
ros-core
ros2run
ros2launch
rmw-cyclonedds-cpp
xacro
joint-state-publisher
rqt-tf-tree
# rtabmap-ros
# navigation2
# nav2-bringup
ros2-control
ros2-controllers
teleop-twist-keyboard
joint-state-publisher-gui
rqt-robot-steering
rqt-joint-trajectory-controller
# Gazebo
# gz-fortress
# ros-gz-bridge
gazebo-ros
# Image Pipeline
image-pipeline
# MoveIt
pluginlib
graph-msgs
moveit-core
moveit-ros-planning
moveit-planners-ompl
moveit-planners-chomp
moveit-visual-tools
moveit-ros-planning-interface
# moveit
];
})
];
RMW_IMPLEMENTATION = "rmw_cyclonedds_cpp";
};
};
# );
} |
We also had some issues on building moveit here #244 Maybe it can helps. |
That seems to have been it, thanks! |
@lopsided98 i think we could close that |
This is the error
This is my flake.
Any help is appreciated.
The text was updated successfully, but these errors were encountered: