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.
This commit is contained in:
Arnout Engelen 2026-03-19 17:46:40 +01:00
commit 9e26436f7e
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA

View file

@ -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