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

@ -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 = ''