mesa: disable withValgrind if valgrind-light is marked as broken
`valgrind` derivation is currently marked as broken in either: - `stdenv.isDarwin` - `stdenv.hostPlatform.isStatic` Instead of adding those two checks in the `mesa` derivation, we can just check the current `valgrind-light.meta.broken` attribute.
This commit is contained in:
parent
582a42ece7
commit
67ae929deb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
, vulkanDrivers ? ["auto"]
|
, vulkanDrivers ? ["auto"]
|
||||||
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
|
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
|
||||||
, OpenGL, Xplugin
|
, OpenGL, Xplugin
|
||||||
, withValgrind ? !stdenv.isDarwin && lib.meta.availableOn stdenv.hostPlatform valgrind-light, valgrind-light
|
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light && !valgrind-light.meta.broken, valgrind-light
|
||||||
, enableGalliumNine ? stdenv.isLinux
|
, enableGalliumNine ? stdenv.isLinux
|
||||||
, enableOSMesa ? stdenv.isLinux
|
, enableOSMesa ? stdenv.isLinux
|
||||||
, enableOpenCL ? stdenv.isLinux && stdenv.isx86_64
|
, enableOpenCL ? stdenv.isLinux && stdenv.isx86_64
|
||||||
|
|
Loading…
Reference in a new issue