From d6ec89a67b15c38746d9a5b5f43c4c7db1f4813e Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 24 Apr 2023 19:39:50 +0000 Subject: [PATCH] vulkan-cts: fix cross --- pkgs/tools/graphics/vulkan-cts/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/tools/graphics/vulkan-cts/default.nix b/pkgs/tools/graphics/vulkan-cts/default.nix index 87eb76030e06..9daf21582082 100644 --- a/pkgs/tools/graphics/vulkan-cts/default.nix +++ b/pkgs/tools/graphics/vulkan-cts/default.nix @@ -18,6 +18,7 @@ , vulkan-loader , wayland , wayland-protocols +, wayland-scanner , zlib }: let @@ -126,13 +127,16 @@ stdenv.mkDerivation (finalAttrs: { ninja pkg-config python3 + wayland-scanner ]; - # Fix cts cmake not coping with absolute install dirs cmakeFlags = [ + # Fix cts cmake not coping with absolute install dirs "-DCMAKE_INSTALL_BINDIR=bin" "-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_INCLUDEDIR=include" + + "-DWAYLAND_SCANNER=wayland-scanner" ]; postInstall = ''