nodejs: make nodejs_* depend on nodejs-slim_*#481461
Conversation
a881a64 to
f43e689
Compare
f43e689 to
a4192a0
Compare
Review dismissed automatically
3fddf6c to
264cd1e
Compare
264cd1e to
eacff34
Compare
bbfda79 to
bca6ea3
Compare
nodejs_* depend on nodejs-slim_*
|
@ofborg build nodejs_25 nodejs_25.passthru.tests nodejs_22 nodejs_22.passthru.tests nodejs_20 nodejs_20.passthru.tests |
|
I think the current state of the PR matches @Ma27's suggestion – and thanks, it's indeed much more elegant that way. Are there more suggestions / concerns? |
Ma27
left a comment
There was a problem hiding this comment.
Haven't tested this, but the change looks reasonable to me 👍
bca6ea3 to
16bd047
Compare
16bd047 to
6701935
Compare
There was a problem hiding this comment.
You might also want to add an outputCheck, to confirm that none of the regular outputs refer to the npm output, to avoid pulling that in accidentally at run-time (?).
(you'll need to enable __structuredAttrs for that if that's not the case already)
a7bc1ee to
4381a17
Compare
4381a17 to
7459fe9
Compare
|
If there are no more suggestions, I'll land this in 48 hours |
|
So now we should migrate packages that use yarn or pnpm to nodejs-slim? |
fix(node-packages): replace to nodejs-slim from nodejs due to NixOS/nixpkgs#481461
Things done
Having nodejs-slim and nodejs building the same software twice is a waste of resources. Opening as draft as the patches need to be ported to the new package.
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.