diff --git a/flake.nix b/flake.nix index 3e9566a..3281579 100644 --- a/flake.nix +++ b/flake.nix @@ -91,6 +91,7 @@ packages = with pkgs; [ sccache mold + patchelf cargo-nextest cargo-deny cargo-llvm-cov diff --git a/scripts/play.sh b/scripts/play.sh index 01525f2..4b24c63 100755 --- a/scripts/play.sh +++ b/scripts/play.sh @@ -32,6 +32,7 @@ else fi if [ -n "${SSH_CLIENT:-}" ]; then + patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 --remove-rpath "$TARGET_PATH" set -x PSYNC_LOG=debug uvx --from cubething_psync psync \ "$TARGET_PATH" -e "${ENV_VARS}" -a "${CMD_ARGS}" -A "${ASSETS}"