various: remove GLEW compatibility workarounds

The restored EGL+GLX compatibility patch allows the default GLEW build to
support both EGL and GLX again.

Remove package specific overrides that forced `enableEGL = false`.
This commit is contained in:
İlkecan Bozdoğan
2026-07-16 01:00:43 +03:00
parent d163922d61
commit 11dbafea9e
3 changed files with 3 additions and 12 deletions

View File

@@ -76,12 +76,7 @@ stdenv.mkDerivation (finalAttrs: {
bzip2
muparser
eigen
# 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; })
glew
gmp
levmar
qhull

View File

@@ -127,9 +127,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
eigen
boost
# OpenSCAD's GLX offscreen renderer needs GLEW's GLXEW symbols (`__GLXEW_SGIX_pbuffer`, `__GLXEW_SGIX_fbconfig`)
# which are not found in the default EGL-enabled glew and causes the build failure in https://github.com/NixOS/nixpkgs/issues/530529
(glew.override { enableEGL = false; })
glew
opencsg
cgal_5
mpfr

View File

@@ -117,9 +117,7 @@ stdenv.mkDerivation (finalAttrs: {
qtbase
qtmultimedia
openal
# RPCS3's X11 swap-interval path uses GLEW's GLXEW symbols, which
# are not provided in the default EGL-enabled GLEW build.
(glew.override { enableEGL = false; })
glew
vulkan-headers
vulkan-loader
libpng