nix-ros-overlay/examples/ros2-basic.nix
Michal Sojka 4e05a1caca Refactor examples to allow passing pkgs as an argument
This will be useful in the next commit, where we integrate the example
into flake.nix.
2023-04-08 14:01:19 -04:00

18 lines
277 B
Nix
Executable file

# Environment containing basic ROS2 tools
{ pkgs ? import ../. {} }:
with pkgs;
with rosPackages.humble;
mkShell {
nativeBuildInputs = [
(buildEnv {
paths = [
ros-environment
ros2topic
ros2node
geometry-msgs
];
})
];
}