From 4006c2490f9ef1ddcb6fa685f022cd0775fa90a3 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Fri, 15 Mar 2024 15:06:32 +0000 Subject: [PATCH] cudaPackages.autoAddOpenGLRunpath: keep an alias for compatibility --- pkgs/development/cuda-modules/setup-hooks/extension.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/cuda-modules/setup-hooks/extension.nix b/pkgs/development/cuda-modules/setup-hooks/extension.nix index 0e14ce709a64..ece70da52b02 100644 --- a/pkgs/development/cuda-modules/setup-hooks/extension.nix +++ b/pkgs/development/cuda-modules/setup-hooks/extension.nix @@ -60,6 +60,9 @@ final: _: { ) {}; + # Deprecated: an alias kept for compatibility. Consider removing after 24.11 + autoAddOpenGLRunpathHook = final.autoAddDriverRunpath; + # autoAddCudaCompatRunpath hook must be added AFTER `setupCudaHook`. Both # hooks prepend a path with `libcuda.so` to the `DT_RUNPATH` section of # patched elf files, but `cuda_compat` path must take precedence (otherwise,