| 18 Nov 2025 |
dish [Fox/It/She] | the aggregated npm deps.. you mean doing like one derivation per node_module? | 17:38:12 |
dish [Fox/It/She] | * the aggregated npm deps.. you mean doing like one derivation per node_modules package? | 17:38:50 |
Cobalt | Yes, that's roughly what it produces for. It reduces downloads from npm a lot | 17:39:19 |
dish [Fox/It/She] | that definitely sounds good from a reducing bloat perspective | 17:39:46 |
Cobalt | This about a custom flake, but regardless if that is an IFD than it might not be a good fit for nixpkgs | 17:40:07 |
dish [Fox/It/She] | nix-update can update stuff from flakes :3 | 17:40:27 |
dish [Fox/It/She] | nix-update --flake packageName | 17:40:35 |
Cobalt | * | 17:40:33 |
Cobalt | Ik, didn't work in our stuff reliably ;) | 17:40:51 |
dish [Fox/It/She] | damn | 17:41:17 |
dish [Fox/It/She] | wasn't sure if you did know, since a lot of folks dont know about that flag ^^ sorry abt that | 17:41:34 |
Cobalt | NP, when we tried FOD we also only found it very late | 17:46:09 |
Cobalt | But regardless, if FOD is better for eval time then it might be worth a revisit | 17:46:29 |
Cobalt | Thank you for the helpful and quick responses | 17:47:05 |
dish [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 |
| John joined the room. | 06:25:28 |
Emma [it/its] | hm, is there a helper to trim down build artifacts in node_modules? | 18:26:55 |
Emma [it/its] | trying to trim down the size of a node derivation and just deleting .o, .a etc files helps a lot | 18:29:05 |
dish [Fox/It/She] | nope afaik | 18:34:49 |
Emma [it/its] | argh okay, guess ill be enumerating filetyes myself - is it possible to match multiple extensions with find? | 18:35:40 |
dish [Fox/It/She] | can specify the -name flag multiple times | 20:10:29 |
Emma [it/its] | oh, TIL | 20:10:51 |
Emma [it/its] | this appears not to work | 20:34:01 |
dish [Fox/It/She] | huh | 22:09:19 |
dish [Fox/It/She] | i got that from the manpahe | 22:09:27 |
dish [Fox/It/She] | * i got that from the manpage | 22:09:34 |
Emma [it/its] | yeah idk, it kept not matching any files when i did that | 22:17:24 |
samasaur | use fd ? much easier to specify extensions | 23:18:50 |
dish [Fox/It/She] | i mean, easier to use find when it's built-in so 🤷 | 23:47:49 |
| 21 Nov 2025 |
Cobalt | iirc, find -name '*.nix' -or -name '*.git' works (focus on the -or) | 01:11:43 |