Otheriwse, if Cairo's GL backend is disabled, libGL doesn't end up in cogl's rpath, so applications using cogl (like gthumb) will fail to launch when they search for libGL and can't find it.
···5353 "--enable-wayland-egl-server"5454 "--enable-gles1"5555 "--enable-gles2"5656+ # Force linking against libGL.5757+ # Otherwise, it tries to load it from the runtime library path.5858+ "LIBS=-lGL"5659 ] ++ lib.optionals stdenv.isDarwin [5760 "--disable-glx"5861 "--without-x"