Closed MasseGuillaume closed 2 years ago
I did some experimentation for this. I'll post my findings here if anyone wants to pick up where I left off.
From what I can tell, xi-editor should be build-able with rustPlatform.buildRustPackage
. The only catch is that the Rust code is in the rust/ directory instead of in the root of the repository. I haven't found a way yet to tell buildRustPackage
that the source is in that directory, so it complains about the lack of a Cargo.lock
file.
It should also be noted that the repository contains only the core of the editor. A front-end is required to actually use it. If we're providing this package, we'll probably also want to provide at least one front-end package to go with it.
The only catch is that the Rust code is in the rust/ directory instead of in the root of the repository.
There is a sourceRoot
option during the unpack stage. See here, although I'm still looking at how to package the frontends.
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
close please?
xi-editor is a dead research project, see xi-editor retrospective
alternative: lapce editor
see also #48593
Repository: https://github.com/google/xi-editor