{ runCommand, pocl, clinfo, writableTmpDirAsHomeHook, }: runCommand "clinfo-pocl" { nativeBuildInputs = [ clinfo pocl writableTmpDirAsHomeHook ]; requiredSystemFeatures = [ "sys-devices" ]; env.POCL_DEBUG = "error,warn"; } '' echo $OCL_ICD_VENDORS clinfo >$out # check that we have PoCL: grep "Portable Computing Language" $out ''