{ runCommand, pocl, clinfo, writableTmpDirAsHomeHook, }: runCommand "clinfo-pocl" { nativeBuildInputs = [ clinfo writableTmpDirAsHomeHook ]; requiredSystemFeatures = [ "sys-devices" ]; env = { POCL_DEBUG = "error,warn"; OCL_ICD_VENDORS = "${pocl}/etc/OpenCL/vendors"; }; } '' set -x clinfo | tee $out set +x ''