meshlab: fix launch failure with EGL-only glew (#539294)

This commit is contained in:
Niklas Hambüchen
2026-07-08 16:03:06 +00:00
committed by GitHub
+6 -1
View File
@@ -76,7 +76,12 @@ stdenv.mkDerivation (finalAttrs: {
bzip2
muparser
eigen
glew
# MeshLab renders through Qt's xcb platform, which creates a GLX context,
# and calls glewInit() against it. The default EGL-enabled glew is built
# EGL-only (no GLX dispatch table), so glewInit can't read GL_VERSION and
# the app fails to launch with "GLEW initialization failed: Missing GL
# version". See https://github.com/NixOS/nixpkgs/issues/531470
(glew.override { enableEGL = false; })
gmp
levmar
qhull