treewide: migrate away from removed nodePackages

This commit is contained in:
Gaetan Lepage
2026-04-16 14:38:59 +00:00
committed by Gaétan Lepage
parent c12d386771
commit 9336455b20
5 changed files with 13 additions and 29 deletions
@@ -79,7 +79,7 @@ in
clang-format = clang-tools;
clang_format = clang-tools;
cmake_format = cmake-format;
css_beautify = nodePackages.js-beautify;
css_beautify = js-beautify;
cue_fmt = cue;
dart_format = dart;
deno_fmt = deno;
@@ -98,10 +98,10 @@ in
hcl = hclfmt;
# FIXME: 2025-10-08 build failure (haskellPackages.hindent)
hindent = states.broken haskellPackages.hindent;
html_beautify = nodePackages.js-beautify;
html_beautify = js-beautify;
inherit (rubyPackages) htmlbeautifier;
hurlfmt = hurl;
js_beautify = nodePackages.js-beautify;
js_beautify = js-beautify;
jsonnetfmt = jsonnet;
inherit (texlive.pkgs) latexindent;
lua-format = luaformatter;
+4 -6
View File
@@ -62,6 +62,7 @@ in
"dmd"
"dprint"
"eslint"
"eslint_d"
"fish"
"flawfinder"
"fnlfmt"
@@ -79,6 +80,7 @@ in
"nixfmt"
"php"
"phpstan"
"prettier"
"prettypst"
"proselint"
"protolint"
@@ -96,8 +98,10 @@ in
"sqlfluff"
"sqruff"
"statix"
"stylelint"
"stylua"
"taplo"
"textlint"
"typstyle"
"uncrustify"
"vale"
@@ -112,12 +116,6 @@ in
"mdformat"
"vulture"
];
nodePackages = [
"eslint_d"
"prettier"
"stylelint"
"textlint"
];
phpPackages = [
"phan"
"psalm"
+1 -6
View File
@@ -112,8 +112,6 @@ in
]
# Scoped packages
// scoped {
nodePackages = [
];
phpPackages = [
"phpmd"
"phpstan"
@@ -206,10 +204,7 @@ in
# FIXME: Can't have transition fallbacks anymore
# TODO: replace after flake.lock update
# prisma_format = "prisma";
prisma_format = [
"nodePackages"
"prisma"
];
prisma_format = "prisma";
ptop = "fpc";
puppet_lint = "puppet-lint";
qmlformat = [
+5 -11
View File
@@ -23,17 +23,11 @@ lib.nixvim.plugins.mkNeovimPlugin {
extraOptions = {
enableTelescope = lib.mkEnableOption "the `package_info` telescope picker.";
packageManagerPackage =
lib.mkPackageOption pkgs
[
"nodePackages"
"npm"
]
{
nullable = true;
default = null;
example = "pkgs.nodePackages.npm";
};
packageManagerPackage = lib.mkPackageOption pkgs [ "nodejs" ] {
nullable = true;
default = null;
example = "pkgs.nodejs";
};
};
extraConfig = cfg: {
-3
View File
@@ -45,9 +45,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
node_executable = defaultNullOpts.mkStr "node" ''
Path to the node executable.
If you set `nodePackage` to a non-null package, this option will automatically default to its
path.
'';
skip_node_check = defaultNullOpts.mkBool false ''