Closed TomJo2000 closed 2 days ago
This doesn't seem to quite fix the XDG_RUNTIME_DIR
problem yet.
But the shebang fix seems to be working already.
bug:
#!/usr/bin/env sh
echo "hello world"
XDG_RUNTIME_DIR="$PREFIX/var/run/user"
just bug
# hello world
Nvm it works, my dotfiles were broken. Just the shebangs that needed fixing.
Already verified it on-device just waiting for the CI.
It'd be appreciated if someone could double check this to make sure I didn't make any obvious mistake.
Either @flipee as the maintainer, or @truboxl or @licy183 as frequent contributors to rust packages would be my choices off the top of my head.
Anyone else is of course welcome to leave a review or comment.
From what testing I have done the patch seems to be working as intended.
I would like to get this merged soon, if there is no further comment in the next 24 hours I will merge this PR, and we can deal with any potential follow up issues if and when they arise.
I don't know enough Rust to even begin to reason about why this patch doesn't work.
If someone else could look into it that would be appreciated. This is intended to solve the shebang incompatibility I found as part of #22291. It should be as simple as prepending the
@TERMUX_PREFIX@
path to the interpreter. But I have a headache and apparently negative knowledge of Rust.