cudaPackages: append $ORIGIN to runtime paths

This commit is contained in:
Someone Serge
2023-04-13 19:12:37 +03:00
parent b612fe36b2
commit 97870fb60c
@@ -38,6 +38,12 @@ backendStdenv.mkDerivation {
stdenv.cc.cc.lib
];
# Picked up by autoPatchelf
# Needed e.g. for libnvrtc to locate (dlopen) libnvrtc-builtins
appendRunpaths = [
"$ORIGIN"
];
dontBuild = true;
# TODO: choose whether to install static/dynamic libs