Just patch dynamic libs specifically

This commit is contained in:
Jordan Dominion
2024-11-09 11:26:38 -05:00
parent bf30471dba
commit aa62320233
+3 -1
View File
@@ -25,7 +25,9 @@ let
${pkgs.patchelf}/bin/patchelf --set-interpreter "$(cat ${stdenv.cc}/nix-support/dynamic-linker)" \
--set-rpath "$BYOND_PATH:${rpath}" \
$BYOND_PATH/{DreamDaemon,DreamDownload,DreamMaker,*.so}
$BYOND_PATH/{DreamDaemon,DreamDownload,DreamMaker}
${pkgs.patchelf}/bin/patchelf --set-rpath "$BYOND_PATH:${rpath}" $BYOND_PATH/*.so
'';
tgs-wrapper = pkgs.writeShellScriptBin "tgs-path-wrapper" ''