cudaPackages.autoAddCudaCompatRunpathHook: dummy libcudaPath when broken

This commit is contained in:
Someone Serge 2023-12-12 16:20:57 +00:00 committed by Yureka
parent 6256391a35
commit 076fc3ad31

View file

@ -58,7 +58,8 @@ final: _: {
{
name = "auto-add-cuda-compat-runpath-hook";
substitutions = {
libcudaPath = "${cuda_compat}/compat";
# Hotfix Ofborg evaluation
libcudaPath = if final.flags.isJetsonBuild then "${cuda_compat}/compat" else null;
};
meta.broken = !final.flags.isJetsonBuild;
}