fix: autoAddOpenGLRunpathHook -> autoAddDriverRunpath

This commit is contained in:
DavHau 2024-09-26 13:29:17 +02:00
parent c838c1041f
commit d028f68f41

View File

@ -6,13 +6,13 @@
# stripping doesn't reduce the file size much, and it takes a long time
mkDerivation.dontStrip = true;
# use the autoAddOpenGLRunpathHook to add /run/opengl-driver/lib to the RPATH
# use the autoAddDriverRunpath to add /run/opengl-driver/lib to the RPATH
# of all ELF files
deps = {nixpkgs, ...}: {
inherit (nixpkgs.cudaPackages) autoAddOpenGLRunpathHook;
inherit (nixpkgs) autoAddDriverRunpath;
};
mkDerivation.nativeBuildInputs = [
config.deps.autoAddOpenGLRunpathHook
config.deps.autoAddDriverRunpath
];
# this file is patched manually, so ignore it in autoPatchelf