| 4 Aug 2023 |
gdamjan |  Download image.png | 13:29:38 |
gdamjan | icu4c-73.2-dev, openssl-3.0.9-dev, libuv-1.46.0-dev, zlib-1.2.13-dev
| 13:30:14 |
raitobezarius | because nodejs still needs to compile stuff? | 13:34:57 |
raitobezarius | via nodejs-gyp I guess | 13:35:04 |
@gdesforges:matrix.org | My wild guess would be...
Try to remove them one by one and see if it breaks anything 😄 | 13:35:14 |
gdamjan | In reply to @raitobezarius:matrix.org because nodejs still needs to compile stuff? this is -slim which does not include npm | 13:36:00 |
Lily Foster | In reply to @gdamjan:spodeli.org so, does anyone have any ideas why nodejs-slim depends on these -dev packages: nix why-depends? | 13:36:35 |
raitobezarius | I remember roughly we had discussions about it with Lily Foster a long time ago | 13:36:54 |
Lily Foster | In reply to @gdamjan:spodeli.org this is -slim which does not include npm Yeah without npm and all of its bundled modules (e.g. node-gyp) it shouldn't need it | 13:37:05 |
Lily Foster | Does -slim include headers? | 13:37:14 |
Lily Foster | In reply to @raitobezarius:matrix.org I remember roughly we had discussions about it with Lily Foster a long time ago We did? 👀 | 13:37:21 |
Lily Foster | I have no memory of that (but that's not that surprising...) | 13:37:31 |
raitobezarius | I remember we had the discussions on the closure size of nodejs-slim vs nodejs | 13:37:33 |
raitobezarius | maybe in NixOS and not Nix NodeJS | 13:37:38 |
gdamjan | In reply to @lily:lily.flowers Does -slim include headers? it does. I've tried removing them in some post* hook, didn't change the deps | 13:37:46 |
Lily Foster | Nix why depends can tell you the exact files with the reference iirc | 13:38:15 |
Lily Foster | So knowing which files may help | 13:38:20 |
gdamjan | let me see,first time I hear about nix why-depends :D | 13:39:20 |
Lily Foster | Maybe it's pkg-config files though? | 13:39:22 |
Lily Foster | Nodejs doesn't have a dev output right now, correct? | 13:39:41 |
Lily Foster | If it did, headers and pkg config files and such would go to it | 13:39:51 |
Lily Foster | So maybe it should if that's why | 13:40:01 |
gdamjan | maybe I'm using this wrong:
# nix why-depends nixpkgs#nodejs-slim nixpkgs#openssl.dev
/nix/store/5vm8fh4q21xlk7i1y6rqykqar296dglr-nodejs-slim-18.16.1
<E2><94><94><E2><94><80><E2><94><80><E2><94><80>/nix/store/l0vnx3ik63qrlj086gq06fjmalsi5dpy-openssl-3.0.9-dev
?
| 13:43:08 |
gdamjan | let me try a real VM :/ | 13:45:12 |
Lily Foster | It's a flag i think. By default it just shows the chain of derivation/outpath references | 13:45:12 |
Lily Foster | If I wasn't on mobile abd at $dayjob I'd check myself | 13:45:38 |
Lily Foster | * If I wasn't on mobile and at $dayjob I'd check myself | 13:45:44 |
gdamjan | sure - take care :D | 13:45:59 |
Lily Foster | (I mean I work for a state government in the US and it's a friday -- I can be on mobile, it's not like I'm getting much done anyway 😅) | 13:46:39 |
gdamjan | --precise | 13:46:41 |