Unverified Commit 6e304368 authored by @mjones's avatar @mjones Committed by GitHub
Browse files

lmstudio: remove unnecessary --set-rpath from patchelf to fix lms segfault (#511533)

parents 8d2d62e8 9098af30
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -51,9 +51,6 @@ appimageTools.wrapType2 {
    # lms cli tool
    install -m 755 ${appimageContents}/resources/app/.webpack/lms $out/bin/

    patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" \
    --set-rpath "${lib.getLib stdenv.cc.cc}/lib:${lib.getLib stdenv.cc.cc}/lib64:$out/lib:${
      lib.makeLibraryPath [ (lib.getLib stdenv.cc.cc) ]
    }" $out/bin/lms
    patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" $out/bin/lms
  '';
}