about summary refs log tree commit diff
path: root/pkgs/development/libraries/libva
diff options
context:
space:
mode:
authorSandro Jäckel2023-05-22 18:24:41 +0200
committerSandro Jäckel2023-05-22 19:56:54 +0200
commit2222222b0f41747f14fcbeb20a03c7dfc16b9389 (patch)
tree204b0bc3470888f4cc1e488a5fe1d5ee8f2ecc28 /pkgs/development/libraries/libva
parent601b8658d53c5e25ac3b5203e4a163122a77a84b (diff)
libva: build minimal without a dependency on wayland
This fixes issues with environment.noXLibs
Diffstat (limited to 'pkgs/development/libraries/libva')
-rw-r--r--pkgs/development/libraries/libva/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libva/default.nix b/pkgs/development/libraries/libva/default.nix
index d7a7f43e7e80..15fb761aec15 100644
--- a/pkgs/development/libraries/libva/default.nix
+++ b/pkgs/development/libraries/libva/default.nix
@@ -26,7 +26,8 @@ stdenv.mkDerivation rec {
 
   depsBuildBuild = [ pkg-config ];
 
-  nativeBuildInputs = [ meson pkg-config ninja wayland-scanner ];
+  nativeBuildInputs = [ meson pkg-config ninja ]
+    ++ lib.optional (!minimal) wayland-scanner;
 
   buildInputs = [ libdrm ]
     ++ lib.optionals (!minimal) [ libva-minimal libX11 libXext libXfixes wayland libffi libGL ];