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-27 18:48:26 +03:00
parent 976e5387d2
commit 5f62b2c546
@@ -65,7 +65,7 @@ finalAttrs: prevAttrs: {
# We need to look inside the extracted output to get the files we need.
sourceRoot = "TensorRT-${finalAttrs.version}";
buildInputs = prevAttrs.buildInputs ++ [ finalAttrs.passthru.cudnn.lib ];
buildInputs = prevAttrs.buildInputs ++ [ (finalAttrs.passthru.cudnn.lib or null) ];
preInstall =
(prevAttrs.preInstall or "")