From bcf5e671df4efb886d8f787ef8cb54e5867c749a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 3 Mar 2026 00:59:35 +0100 Subject: [PATCH] nixos/npm: update npm package reference There is no nodePackages.npm anymore, instead it's nodejs in disguise. --- nixos/modules/programs/npm.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nixos/modules/programs/npm.nix b/nixos/modules/programs/npm.nix index 2f3a4064ef05..447aebb61788 100644 --- a/nixos/modules/programs/npm.nix +++ b/nixos/modules/programs/npm.nix @@ -16,9 +16,7 @@ in programs.npm = { enable = lib.mkEnableOption "{command}`npm` global config"; - package = lib.mkPackageOption pkgs [ "nodePackages" "npm" ] { - example = "nodePackages_13_x.npm"; - }; + package = lib.mkPackageOption pkgs "nodejs" { }; npmrc = lib.mkOption { type = lib.types.lines;