opencl-cts: fix binaries being nested under cmakeBuildType

This commit is contained in:
Luna Nova
2026-03-11 11:36:22 -07:00
parent 108d0d4ef6
commit b0d9a5a5c8
+5
View File
@@ -48,6 +48,11 @@ stdenv.mkDerivation (finalAttrs: {
(lib.cmakeFeature "OPENCL_LIBRARIES" "OpenCL")
];
# Upstream installs to bin/$<CONFIG> (e.g. bin/Release/); flatten it.
postInstall = ''
mv "$out/bin/''${cmakeBuildType:-Release}"/* "$out"/bin/
'';
meta = {
description = "OpenCL Conformance Test Suite";
homepage = "https://github.com/KhronosGroup/OpenCL-CTS";