Unverified Commit 97870fb6 authored by Someone Serge's avatar Someone Serge
Browse files

cudaPackages: append $ORIGIN to runtime paths

parent b612fe36
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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