From 93d72deceaebf88f49eaa3d58d811312f33ea1f1 Mon Sep 17 00:00:00 2001 From: PukPukov Date: Thu, 27 Nov 2025 01:38:03 +0500 Subject: [PATCH] resolve https://github.com/rti/nixwrap/issues/7 --- wrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrap.sh b/wrap.sh index 24530a3..e0abffa 100755 --- a/wrap.sh +++ b/wrap.sh @@ -225,7 +225,7 @@ while getopts "r:w:e:abcdfhmnpuv" opt; do # Bind the .Xauthority file so that the authorization data is available. if [ -n "${XAUTHORITY:-}" ]; then # Bind a custom path Xauthority file to the standard path in the sandbox - bwrap_opts+=(--ro-bind "${HOME}/${XAUTHORITY}" "$HOME/.Xauthority") + bwrap_opts+=(--ro-bind "${XAUTHORITY}" "$HOME/.Xauthority") elif [ -f "$HOME/.Xauthority" ]; then # Bind the standard path Xauthority file to the sandbox bwrap_opts+=(--ro-bind "$HOME/.Xauthority" "$HOME/.Xauthority")