Re: [NixOS/nixpkgs] sublime-merge cannot push to remote (#88600)

Domain: IP info
MX-server: IP info
Size: 2117 Bytes
Create: 2020-05-24
Update: 2020-05-24
Score: 1
Safe: Yes

Outbound domains: |

So after discussing this with the helpful folks on the Sublime Merge repository, I was able to figure out what the problem is, it is happening because the ssh-askpass-sublime functionality for sublime_merge actually depends on passing a special value as the argv[0] to the sublime_merge executable. However the sublime_merge file that ssh-askpass-sublime is trying to pass the argv[0] to is actually a wrapper script that calls exec to run the actual binary after setting up the proper environment variables. There doesn't appear to be any way for the bash script to detect the argv[0] that was passed to bash as $0 is overwritten with the path to the bash script. I'm not sure how we will resolve this issue but at least we know what is causing it now. Maybe we can create a wrapper for the ssh-askpass-sublime script that helps it execute the call properly against the un-wrapped binary or something.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.