Merge pull request #228003 from alyssais/vulkan-cts-cross

vulkan-cts: fix cross
This commit is contained in:
Nick Cao 2023-04-26 09:15:38 +08:00 committed by GitHub
commit 8426a11c2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@
, vulkan-loader , vulkan-loader
, wayland , wayland
, wayland-protocols , wayland-protocols
, wayland-scanner
, zlib , zlib
}: }:
let let
@ -126,13 +127,16 @@ stdenv.mkDerivation (finalAttrs: {
ninja ninja
pkg-config pkg-config
python3 python3
wayland-scanner
]; ];
# Fix cts cmake not coping with absolute install dirs
cmakeFlags = [ cmakeFlags = [
# Fix cts cmake not coping with absolute install dirs
"-DCMAKE_INSTALL_BINDIR=bin" "-DCMAKE_INSTALL_BINDIR=bin"
"-DCMAKE_INSTALL_LIBDIR=lib" "-DCMAKE_INSTALL_LIBDIR=lib"
"-DCMAKE_INSTALL_INCLUDEDIR=include" "-DCMAKE_INSTALL_INCLUDEDIR=include"
"-DWAYLAND_SCANNER=wayland-scanner"
]; ];
postInstall = '' postInstall = ''