about summary refs log tree commit diff
path: root/pkgs/development/cuda-modules/generic-builders/manifest.nix
diff options
context:
space:
mode:
authorSomeone <sergei.kozlukov@aalto.fi>2024-03-19 20:06:18 +0000
committerGitHub <noreply@github.com>2024-03-19 20:06:18 +0000
commite7797267a20c6dc316044949ce5eb8d3bb1de309 (patch)
treefdd38e2b57c27052a3ddfc1aad775f723968b0fa /pkgs/development/cuda-modules/generic-builders/manifest.nix
parentfd6871114e5d296456c8483c279dfd4a3f34e25f (diff)
parent4006c2490f9ef1ddcb6fa685f022cd0775fa90a3 (diff)
Merge pull request #281576 from yannham/refactor/cuda-setup-hooks-refactor
cudaPackages: generalize and refactor setup hooks
Diffstat (limited to 'pkgs/development/cuda-modules/generic-builders/manifest.nix')
-rw-r--r--pkgs/development/cuda-modules/generic-builders/manifest.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/cuda-modules/generic-builders/manifest.nix b/pkgs/development/cuda-modules/generic-builders/manifest.nix
index 5e837fa36b5e6..4f40b7f01dc28 100644
--- a/pkgs/development/cuda-modules/generic-builders/manifest.nix
+++ b/pkgs/development/cuda-modules/generic-builders/manifest.nix
@@ -1,7 +1,7 @@
 {
   # General callPackage-supplied arguments
-  autoAddOpenGLRunpathHook,
-  autoAddCudaCompatRunpathHook,
+  autoAddDriverRunpath,
+  autoAddCudaCompatRunpath,
   autoPatchelfHook,
   backendStdenv,
   fetchurl,
@@ -193,16 +193,16 @@ backendStdenv.mkDerivation (
       # in typically /lib/opengl-driver by adding that
       # directory to the rpath of all ELF binaries.
       # Check e.g. with `patchelf --print-rpath path/to/my/binary
-      autoAddOpenGLRunpathHook
+      autoAddDriverRunpath
       markForCudatoolkitRootHook
     ]
-    # autoAddCudaCompatRunpathHook depends on cuda_compat and would cause
+    # autoAddCudaCompatRunpath depends on cuda_compat and would cause
     # infinite recursion if applied to `cuda_compat` itself (beside the fact
     # that it doesn't make sense in the first place)
     ++ lib.optionals (pname != "cuda_compat" && flags.isJetsonBuild) [
-      # autoAddCudaCompatRunpathHook must appear AFTER autoAddOpenGLRunpathHook.
+      # autoAddCudaCompatRunpath must appear AFTER autoAddDriverRunpath.
       # See its documentation in ./setup-hooks/extension.nix.
-      autoAddCudaCompatRunpathHook
+      autoAddCudaCompatRunpath
     ];
 
     buildInputs =