diff --git a/pkgs/by-name/me/meshlab/package.nix b/pkgs/by-name/me/meshlab/package.nix index 104fbc3a03d2..ed277bf0733b 100644 --- a/pkgs/by-name/me/meshlab/package.nix +++ b/pkgs/by-name/me/meshlab/package.nix @@ -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