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 = {