I managed to get as far as this myself, then found this, only to find that you'd not found a workaround for the 'dirty' symlinking. Did you (or anyone else?) manage to create a suitable wrapper script?
While the editor surely works in this way, there are still a couple of problems I've encountered. If you
in the terminal, and then try and run something like
Then you get '11' returned - i.e. a segfault. This is stopping some of my usual plugins from working correctly, as they're unable to interact with anything outside of Sublime - curl, wget, or running external scripts don't work. However,
returns correctly, as expected. I'm guessing it's something to do with the C system call, which os.system uses, in the GLIBC version I've compiled just for Sublime, but I'm damned if I can figure out where to go from here. If you, or anyone else stumbles across this, I'd be eager to hear your thoughts!
EDIT: You can avoid the dirty linking by using PatchELF (nixos.org/patchelf.html) to edit the linker that sublime_text uses. sublime_text then is able to find itself and not the linker, and everything works fine (save for the issues I'm reporting above, which are unfortunately still extant.