|
|
|
@ -22,6 +22,9 @@ in stdenv.mkDerivation rec { |
|
|
|
|
"-DDEFAULT_EGL_VENDOR_CONFIG_DIRS=\"${driverLink}/share/glvnd/egl_vendor.d:/etc/glvnd/egl_vendor.d:/usr/share/glvnd/egl_vendor.d\"" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
# Indirectly: https://bugs.freedesktop.org/show_bug.cgi?id=35268 |
|
|
|
|
configureFlags = stdenv.lib.optional stdenv.hostPlatform.isMusl "--disable-tls"; |
|
|
|
|
|
|
|
|
|
# Upstream patch fixing use of libdl, should be in next release. |
|
|
|
|
patches = [ |
|
|
|
|
(fetchpatch { |
|
|
|
|