summaryrefslogtreecommitdiffstats
path: root/pkgs/development/cuda-modules/tensorrt/fixup.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/cuda-modules/tensorrt/fixup.nix')
-rw-r--r--pkgs/development/cuda-modules/tensorrt/fixup.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/cuda-modules/tensorrt/fixup.nix b/pkgs/development/cuda-modules/tensorrt/fixup.nix
index 3615284fb080..42359aedac11 100644
--- a/pkgs/development/cuda-modules/tensorrt/fixup.nix
+++ b/pkgs/development/cuda-modules/tensorrt/fixup.nix
@@ -1,12 +1,12 @@
{
cudaVersion,
final,
- hostPlatform,
lib,
mkVersionedPackageName,
package,
patchelf,
requireFile,
+ stdenv,
...
}:
let
@@ -17,6 +17,7 @@ let
strings
versions
;
+ inherit (stdenv) hostPlatform;
# targetArch :: String
targetArch = attrsets.attrByPath [ hostPlatform.system ] "unsupported" {
x86_64-linux = "x86_64-linux-gnu";