From 3c9cf6210c625513e2b0f45cfe2e1b8bfd3bf1f2 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 7 Jun 2026 16:24:28 +0200 Subject: [PATCH] nodejs: remove `npm` and `corepack` passthru The passthru has been added to give a migration path, but those outputs were not present on the 25.11's `nodejs` derivation. Removing those is helpful to use them to discriminate between the slim and non-slim variants for derivations that accept one or the other. --- pkgs/development/web/nodejs/symlink.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/web/nodejs/symlink.nix b/pkgs/development/web/nodejs/symlink.nix index 538ac2311946..defbb3f088e8 100644 --- a/pkgs/development/web/nodejs/symlink.nix +++ b/pkgs/development/web/nodejs/symlink.nix @@ -44,6 +44,10 @@ "man" "out" "static" + + # Filter out outputs that didn't exist on 25.11 + "npm" + "corepack" ]) && !(builtins.hasAttr name nodejs) ) (builtins.attrNames nodejs-slim)