From fcc1774c7f5d19d4f4b19219d54251b72f968766 Mon Sep 17 00:00:00 2001 From: hacker1024 Date: Tue, 12 Sep 2023 16:12:56 +1000 Subject: [PATCH] gazebo: Disable Wayland --- pkgs/gazebo/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/gazebo/default.nix b/pkgs/gazebo/default.nix index cf6078948a..9db3376a3d 100644 --- a/pkgs/gazebo/default.nix +++ b/pkgs/gazebo/default.nix @@ -86,6 +86,10 @@ mkDerivation rec { # Let the gazebo binary see neighboring binaries. # It attempts to run gzclient from PATH. "--prefix PATH : ${placeholder "out"}/bin" + + # Prevent Gazebo from attempting to use Wayland. + # As is the case with RViz2, OGRE does not yet support it. + "--set WAYLAND_DISPLAY dummy" # "dummy" is arbitrary - it just doesn't exist. ]; meta = {