cudaPackages: append $ORIGIN to runtime paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user