!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

188 Members
55 Servers

Load older messages


SenderMessageTime
18 Nov 2025
@c0ba1t:matrix.orgCobaltYes, that's roughly what it produces for. It reduces downloads from npm a lot17:39:19
@pyrox:pyrox.devdish [Fox/It/She]that definitely sounds good from a reducing bloat perspective17:39:46
@c0ba1t:matrix.orgCobaltThis about a custom flake, but regardless if that is an IFD than it might not be a good fit for nixpkgs17:40:07
@pyrox:pyrox.devdish [Fox/It/She]nix-update can update stuff from flakes :317:40:27
@pyrox:pyrox.devdish [Fox/It/She] nix-update --flake packageName 17:40:35
@c0ba1t:matrix.orgCobalt * 17:40:33
@c0ba1t:matrix.orgCobalt Ik, didn't work in our stuff reliably ;) 17:40:51
@pyrox:pyrox.devdish [Fox/It/She]damn17:41:17
@pyrox:pyrox.devdish [Fox/It/She]wasn't sure if you did know, since a lot of folks dont know about that flag ^^ sorry abt that17:41:34
@c0ba1t:matrix.orgCobaltNP, when we tried FOD we also only found it very late17:46:09
@c0ba1t:matrix.orgCobaltBut regardless, if FOD is better for eval time then it might be worth a revisit17:46:29
@c0ba1t:matrix.orgCobaltThank you for the helpful and quick responses17:47:05
@pyrox:pyrox.devdish [Fox/It/She]
In reply to @c0ba1t:matrix.org
But regardless, if FOD is better for eval time then it might be worth a revisit
yeah my thought is just that thousands of unique derivations, even if de-duped across packages, is still more derivations and memory usage even when unused, and therefore eval perf impact
18:27:08
20 Nov 2025
@user12592851:matrix.orgJohn joined the room.06:25:28
@emma:rory.gayEmma [it/its]hm, is there a helper to trim down build artifacts in node_modules?18:26:55
@emma:rory.gayEmma [it/its]trying to trim down the size of a node derivation and just deleting .o, .a etc files helps a lot18:29:05
@pyrox:pyrox.devdish [Fox/It/She] nope afaik 18:34:49
@emma:rory.gayEmma [it/its] argh okay, guess ill be enumerating filetyes myself - is it possible to match multiple extensions with find? 18:35:40
@pyrox:pyrox.devdish [Fox/It/She] can specify the -name flag multiple times 20:10:29
@emma:rory.gayEmma [it/its]oh, TIL20:10:51
@emma:rory.gayEmma [it/its]this appears not to work20:34:01
@pyrox:pyrox.devdish [Fox/It/She]huh22:09:19
@pyrox:pyrox.devdish [Fox/It/She]i got that from the manpahe22:09:27
@pyrox:pyrox.devdish [Fox/It/She]* i got that from the manpage22:09:34
@emma:rory.gayEmma [it/its] yeah idk, it kept not matching any files when i did that 22:17:24
@samasaur:matrix.orgsamasaur use fd ? much easier to specify extensions 23:18:50
@pyrox:pyrox.devdish [Fox/It/She]i mean, easier to use find when it's built-in so 🤷23:47:49
21 Nov 2025
@c0ba1t:matrix.orgCobalt iirc, find -name '*.nix' -or -name '*.git' works (focus on the -or) 01:11:43
@c0ba1t:matrix.orgCobalt * iirc, find -name '*.nix' -or -name '*.git' works (focus on the -or, this should be usable for multiple -ors) 01:13:09
@jopejoe1:matrix.orgjopejoe1 (4094@39c3) joined the room.13:58:49

There are no newer messages yet.


Back to Room ListRoom Version: 6