From 5f62b2c546a10071e58acf3b39f59442cb7ef01f Mon Sep 17 00:00:00 2001 From: Artturin Date: Thu, 26 Sep 2024 03:57:33 +0300 Subject: [PATCH] cudaPackages.tensorrt: Fix `attribute 'lib' missing` on `aarch64-linux` There should be no attribute missing errors as they cannot be handled. --- pkgs/development/cuda-modules/tensorrt/fixup.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/cuda-modules/tensorrt/fixup.nix b/pkgs/development/cuda-modules/tensorrt/fixup.nix index 0d52c91320c4..aab6d8f32079 100644 --- a/pkgs/development/cuda-modules/tensorrt/fixup.nix +++ b/pkgs/development/cuda-modules/tensorrt/fixup.nix @@ -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 "")