From e4d5565aa063510e7df76a6c9eb58d70b4467710 Mon Sep 17 00:00:00 2001 From: ada Date: Mon, 23 Mar 2026 21:33:38 -0500 Subject: [PATCH] use patchelf to translate from nix build to debian dynamically linked dependencies for psync --- flake.nix | 1 + scripts/play.sh | 1 + 2 files changed, 2 insertions(+) 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}" -- 2.51.2