mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-09 17:42:22 +03:00
43 lines
1 KiB
Nix
43 lines
1 KiB
Nix
# gz needs insecure packages, namely freeimage-unstable-2021-11-01
|
|
# to run this dev shell use:
|
|
# NIXPKGS_ALLOW_INSECURE=1 nix develop --impure .\#example-ros2-gz
|
|
|
|
{pkgs ? import ../. {}}:
|
|
with pkgs;
|
|
with rosPackages.jazzy;
|
|
mkShell {
|
|
nativeBuildInputs = [
|
|
(buildEnv {
|
|
paths = [
|
|
colcon
|
|
ros-core
|
|
ament-cmake-core
|
|
python-cmake-module
|
|
# ros-gz
|
|
|
|
gz-cmake-vendor
|
|
gz-common-vendor
|
|
gz-dartsim-vendor
|
|
gz-fuel-tools-vendor
|
|
gz-gui-vendor
|
|
gz-launch-vendor
|
|
gz-math-vendor
|
|
gz-msgs-vendor
|
|
gz-ogre-next-vendor
|
|
gz-physics-vendor
|
|
gz-plugin-vendor
|
|
gz-rendering-vendor
|
|
gz-sensors-vendor
|
|
gz-sim-vendor
|
|
gz-tools-vendor
|
|
gz-transport-vendor
|
|
gz-utils-vendor
|
|
];
|
|
})
|
|
];
|
|
# Gazebo is currently broken on Wayland
|
|
# https://gazebosim.org/docs/ionic/troubleshooting/#wayland-issues
|
|
shellHook = ''
|
|
unset QT_QPA_PLATFORM
|
|
'';
|
|
}
|