From 9e26436f7e5e7a328dd169f8898f2747dee79031 Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Thu, 19 Mar 2026 17:46:40 +0100 Subject: [PATCH] nodejs: re-introduce `nodejs.src` This was always equivalent to `nodejs-slim.src`. This is a follow-up on https://github.com/NixOS/nixpkgs/pull/481461 which has links from a number of downstream projects that hit this. --- pkgs/development/web/nodejs/symlink.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/symlink.nix b/pkgs/development/web/nodejs/symlink.nix index 87bbdbec6314..531b5268856d 100644 --- a/pkgs/development/web/nodejs/symlink.nix +++ b/pkgs/development/web/nodejs/symlink.nix @@ -5,7 +5,10 @@ }: symlinkJoin { pname = "nodejs"; - inherit (nodejs-slim) version passthru meta; + inherit (nodejs-slim) version meta; + passthru = nodejs-slim.passthru // { + inherit (nodejs-slim) src; + }; paths = [ nodejs-slim nodejs-slim.npm