Neovim plugins are now more often than not written in lua.
One advantage of the lua ecosystem over vim's is the existence of
luarocks and the rockspec format, which allows to specify a package
dependencies formally.
I would like more neovim plugins to have a formal description,
"rockspec" being the current candidate.
This MR allows to use nix lua packages as neovim plugins, so as to enjoy
every benefit that rockspecs bring:
- dependdency discovery
- ability to run test suite
- luarocks versioning
- rockspec metadata
the vim update.py script will check if an attribute with the vim plugin
pname exists in lua51Packages. If it does, it uses
buildNeovimPluginFrom2Nix on it, which modifies the luarocks config to
do an almost flat install (luarocks will install the package in the lua
folder instead of share/5.1/lua etc).
It also calls toVimPlugin on it to get all the vim plugin niceties.
The list of packages that could benefit from this is available at
https://luarocks.org/labels/neovim
but I hope it grows.
Note: I DO NOT resign from nixpkgs, not at all!
However, I like a clean notification inbox and I get a lot of stuff for
packages where I'm only an end-user or don't use them anymore and thus
can't help out that much.
So please consider it a measure to reduce the mental load for me when
going through my notifications ;-)
rstudio: 1.4.1717 -> 2022.02.3+492
The old version does not compile with gcc11. Also the used nixos-22.05
libraries (R interpreter) have changed their interfaces that have to be
also patched. Updating RStudio is useful.
* Remove Quarto patch
Follow review in
https://github.com/NixOS/nixpkgs/pull/177021#pullrequestreview-1007625773
* Fix not FHS paths
Create explicit nix path replacement of hard coded FHS paths for pandoc and nodejs.
Last updated in 2016, depends on deprecated gnome2 and fails to start
without warning/error:
```
$ lighttable ; echo $?
0
$ coredumpctl list -1
TIME PID UID GID SIG COREFILE EXE SIZE
Wed 2022-06-15 12:24:50 EET 501223 1000 100 SIGSEGV present /nix/store/9kk7yx3n7a896x40ypr7w4kzya8b0mc9-lighttable-0.8.1/share/LightTable/LightTable 71.4M
```
See #39976.