1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-14 22:42:45 +01:00

modules/lsp: propagate pkgs arg to server modules

This allows simplifying the `importApply` and also paves the way for
custom server modules to define arbitrary package options.
This commit is contained in:
Matt Sturgeon 2025-10-09 20:29:15 +01:00
parent 9e77c8e4a9
commit bb9d744b64
2 changed files with 7 additions and 6 deletions

View file

@ -3,12 +3,12 @@
name ? "the language server",
package ? null,
config ? null,
pkgs ? { },
}@args:
{
lib,
name,
config,
pkgs,
...
}:
let