Commit 5f62b2c5 authored by Artturin's avatar Artturin
Browse files

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

There should be no attribute missing errors as they cannot be handled.
parent 976e5387
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 "")