Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pkgs/development/libraries/mesa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
, xorg
, zstd
, enablePatentEncumberedCodecs ? true
, enableValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light

, galliumDrivers ? [
"d3d12" # WSL emulated GPU (aka Dozen)
Expand Down Expand Up @@ -215,6 +216,7 @@ in stdenv.mkDerivation {
# meson auto_features enables this, but we do not want it
(lib.mesonEnable "android-libbacktrace" false)
(lib.mesonEnable "microsoft-clc" false) # Only relevant on Windows (OpenCL 1.2 API on top of D3D12)
(lib.mesonEnable "valgrind" enableValgrind)
] ++ lib.optionals enablePatentEncumberedCodecs [
(lib.mesonOption "video-codecs" "all")
] ++ lib.optionals needNativeCLC [
Expand Down Expand Up @@ -248,13 +250,14 @@ in stdenv.mkDerivation {
python3Packages.python # for shebang
spirv-llvm-translator
udev
valgrind-light
vulkan-loader
wayland
wayland-protocols
xcbutilkeysyms
xorgproto
zstd
] ++ lib.optionals enableValgrind [
valgrind-light
];

depsBuildBuild = [
Expand Down