diff --git a/pkgs/development/cuda-modules/setup-hooks/extension.nix b/pkgs/development/cuda-modules/setup-hooks/extension.nix index 3ca69a38233a..930730ce6c06 100644 --- a/pkgs/development/cuda-modules/setup-hooks/extension.nix +++ b/pkgs/development/cuda-modules/setup-hooks/extension.nix @@ -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; }