mirror of
https://github.com/status-im/status-app.git
synced 2026-08-27 15:11:20 +00:00
This fixes an error on NixOS when trying to Connect a dApp via Status Connector which should open the Status Wallet Connector chrome plugin page but fails with: ``` /nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash: symbol lookup error: /nix/store/1q9lw4r2mbap8rsr8cja46nap6wvrw2p-bash-interactive-5.2p37/bin/bash: undefined symbol: rl_trim_arg_from_keyseq ``` Resolves: https://github.com/status-im/status-desktop/issues/18451 Signed-off-by: Jakub Sokołowski <jakub@status.im>
7 lines
272 B
Bash
Executable File
7 lines
272 B
Bash
Executable File
#!/usr/bin/env sh
|
|
# Avoid 'undefined symbol: rl_trim_arg_from_keyseq' from newer Bash.
|
|
unset LD_LIBRARY_PATH
|
|
# Remove AppImage path to avoid recursive loop of xdg-open executions.
|
|
PATH=$(echo "${PATH}" | tr ':' '\n' | grep -v "${APPDIR}" | tr '\n' ':')
|
|
exec xdg-open "$@"
|