Noticed while etrying to bump luarocks-nix: the update would fail for
lua-rtoml because the rockspec was renamed from 0.2 to 0.3 and thus
could not be downloaded anymore.
I replaced the url with a sturdier one.
The attribute names in haskellPackages no longer match the Hackage package
names in all cases (which hackage2nix uses to match its config files against
packages), but the pnames do, so let's use those here.
To prevent accidentally disabling a package because a versioned package
depends on a broken one, we need to filter out all versioned attributes
as well. This doesn't change anything since they already have empty
hydraPlatforms.
There is a patch in staging enabling strictDeps for lua packages.
I noticed tree-sitter-orgmode failed to patch on recent master with
strictDeps so this is a preemptive fix.
Strangely the updater wouldn't pick up the latest rocks.nvim version
(2.47), and keep the 2.45:
```
$ nix run /home/teto/nixpkgs#luarocks-packages-updater -- --debug DEBUG --no-commit update rocks.nvim
DEBUG: sys.platform='linux', git_executable='/nix/store/0xz0gjh8y5h4mixx3dm88bnjyq3rffyp-git-minimal-2.52.0/bin/git'
INFO: Start updating plugins
INFO: Loading package descriptions from maintainers/scripts/luarocks-packages.csv
DEBUG: Generating nix expression for rocks.nvim
DEBUG: running luarocks nix --maintainers=mrcjkb rocks.nvim
path is '/nix/store/rhlvl7kcrmifxhb0hn6sbals5y9131p6-v2.45.0.zip'
```
Turns out the updater asks for lua 5.2 compatible versions by default.
You can change the requested lua version in the csv file though so
that's what I've done for most neovim plugins.
- Added myself as mainainer to oil.nvim and lualine.nvim. Not looking
forward to it but it's nice to have people to ping and I actually use
those 2 plugins.
- pin teal-language-server: new versions require new dependencies
- pin jsregexp as per @khaneliman's advice