nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

cogl: force linking against libGL if used

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.

+3
+3
pkgs/development/libraries/cogl/default.nix
··· 53 53 "--enable-wayland-egl-server" 54 54 "--enable-gles1" 55 55 "--enable-gles2" 56 + # Force linking against libGL. 57 + # Otherwise, it tries to load it from the runtime library path. 58 + "LIBS=-lGL" 56 59 ] ++ lib.optionals stdenv.isDarwin [ 57 60 "--disable-glx" 58 61 "--without-x"