-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NixOS support #906
NixOS support #906
Conversation
68c4159
to
98bbe98
Compare
nixos/neovim/default.nix
Outdated
neovim-remote | ||
ripgrep | ||
sqlite | ||
xclip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not everyone are using desktop under X11, maybe it should be 2 options withWaylandClipboard (boolean)
and withX11Clipboard (boolean)
or withClipboard (string: 'wayland'|'x11')
.
Besides, most of the desktop users have already installed the related clipboard tools to their desktop as NeoVim is not the only program which need its support, so maybe it's also not necessary to install them at here, inside a NeoVim configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your review.
It is certainly so. It contained settings tailored to my environment.
As you can see from doc there are many options, so I won't support them here.
Note about the clipboard should be documented in the wiki.
IMO it's unnecessary to check all those packages, it takes too much time as well as ur disk space. After #886 (comment), I installed all those packages on an external disk and dumped their dependencies using libamd <==> https://github.com/zship/libamd
libc <==> https://www.gnu.org/software/libc/
[OR] libc++ <==> https://libcxx.llvm.org/
libevent <==> https://libevent.org/
libiconv <==> https://www.gnu.org/software/libiconv/
libmsgpack <==> http://msgpack.org/
libz <==> https://www.zlib.net/
libzstd <==> https://github.com/facebook/zstd FWIW this is actually similar to the compiling Treesitter's parsers, as long as all those dependencies are satisfied (and the dynamic linker is properly initialized), these executables should run with ease :D |
I understand remove from task At least the LSP and Debugger, which were installed by default, have been built and verified. |
I think the same applies to "Some packages have no upstream problem or identification of the cause" too. If one really needs these individual builds, he can further tweak the base config to make that work (and usually they have such environment setup so fixing this won't be that difficult). |
I understand Mark as completed. |
You can edit it too. |
I remember last year we did tweak those wiki pages so that everyone can edit them. But if ur patch contains a lot of additions, it would be better to open an issue where we could do some proofreading before adding this (like #185). |
bf0d3a3
to
89f1927
Compare
yes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be cool to also make this flake.nix compatible on darwin as well.
need to migrate my setup to |
Co-authored-by: Aaron Pham <[email protected]> Signed-off-by: MiSumiSumi <[email protected]>
d82ce43
to
b310ddd
Compare
Can it be merged? |
Yeah. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I thought I submitted my review 😄 LGTM
I'll merge this after updating the docs :-) Thanks again for all the work here! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! I will merge this if u think the Wiki Page is good (I made some minor modifications) 😄
The link here should be updated as it may change in the future. Others are enough in my use case. 👍 |
I will update this (using permalinks) after merging this PR, cause we currently don't have the stub for this file in the source tree :D |
LGTM😄 |
TSInstall all
installs and builds alltreesitter
mason.nvim
worklua-language-server
,pylsp
,marksman
.Need to check for all binary packages? (maybe checking their dependencies instead, see below)mason.nvim