cudaPackages.tensorrt: Fix attribute 'lib' missing on aarch64-linux

There should be no attribute missing errors as they cannot be handled.
This commit is contained in:
Artturin 2024-09-26 03:57:33 +03:00
parent 976e5387d2
commit 5f62b2c546

View File

@ -65,7 +65,7 @@ finalAttrs: prevAttrs: {
# We need to look inside the extracted output to get the files we need. # We need to look inside the extracted output to get the files we need.
sourceRoot = "TensorRT-${finalAttrs.version}"; sourceRoot = "TensorRT-${finalAttrs.version}";
buildInputs = prevAttrs.buildInputs ++ [ finalAttrs.passthru.cudnn.lib ]; buildInputs = prevAttrs.buildInputs ++ [ (finalAttrs.passthru.cudnn.lib or null) ];
preInstall = preInstall =
(prevAttrs.preInstall or "") (prevAttrs.preInstall or "")