| 18 Feb 2026 |
Emma [it/its] | the problem is, i am upstream | 01:24:02 |
Emma [it/its] | said dependency only builds successfully on linux, and i only want to have it on some dedicated outputs rather than all of them (as its... very slow to compile no matter how many threads you throw at it) | 01:25:08 |
| 19 Feb 2026 |
dish [Fox/It/She] | https://github.com/NixOS/nixpkgs/pull/492192 to fully remove all tailwindcss packages | 17:58:44 |
dish [Fox/It/She] | also closed a bunch of old issues related to now-deleted nodePackages | 18:13:52 |
| @keiichi:matrix.org left the room. | 23:23:26 |
| 20 Feb 2026 |
Emma [it/its] | hm, there's no way to cache an npm package build, is there? | 03:41:46 |
Emma [it/its] | (ofcourse, given the same inputs and outputs) | 03:42:29 |
Emma [it/its] | i guess ill mess with shoving them in a separate derivation and making the consumer not do an npm i | 04:04:16 |
Emma [it/its] | hm, how would i disable npmConfigHook? | 04:16:29 |
Emma [it/its] | npmConfigHook = "true"; didnt work | 04:16:44 |
loudgolem | I see some derivations doing local postPatchHooks=() in postPatch, eg. pagefind. maybe that | 04:20:10 |
loudgolem | * I see some derivations doing local postPatchHooks=() in postPatch, for eg. pagefind. maybe that | 04:20:35 |
loudgolem | * I see some derivations doing local postPatchHooks=() in postPatch, for eg. pagefind. maybe that could work | 04:20:44 |
Emma [it/its] | 'local' unexpected
i must be doing something wrong here :') | 04:22:00 |
Emma [it/its] | oh wait, i see | 04:22:20 |
loudgolem | maybe try without local then, pdfding is using subshells. | 04:22:45 |
loudgolem | * maybe try without local then, pagefind is using subshells. | 04:22:50 |
Emma [it/its] | i missed the in postPatch part :P | 04:23:02 |
Emma [it/its] | just tried that, and it still complains about ERROR: No lock file! (which is only thrown by prefetch-npm-deps as part of npmConfigHook) | 04:23:52 |
Emma [it/its] | * just tried that, and it still complains about ERROR: No lock file! (which is only thrown by prefetch-npm-deps as part of npmConfigHook, as far as i can find) | 04:26:08 |
loudgolem | it also throws just when doing fetchNpmDeps | 04:26:37 |
Emma [it/its] | which... i'm not | 04:27:01 |
Emma [it/its] | :P | 04:27:50 |
Emma [it/its] | i have a whole separate derivation specifically for handling the node modules stuff (because it takes multiple minutes to run) | 04:28:24 |
Emma [it/its] | hm, no matter what i try, it still runs the config hook... guess ill have to switch to makeDerivation directly? | 04:41:32 |
Emma [it/its] | got it working with just a plain makeDerivation | 05:17:42 |
Emma [it/its] | hm, okay, one issue left: [WebRTC] Failed to import @spacebarchat/medooze-webrtc: /nix/store/4qi7jk6d4bx4iz5vw1ppccv8d0cmn67r-spacebar-server-ts-1.0.0-preview.20260220-052209/node_modules/@spacebarchat/medooze-media-server/build/Release/medooze-media-server.node: undefined symbol: srtp_remove_stream | 05:31:39 |
Emma [it/its] | error isnt making much sense as im not stripping or anything | 05:31:58 |
@rosssmyth:matrix.org | For easier doc finding, I do have a PR up documenting all the hooks and their parameters
https://github.com/NixOS/nixpkgs/pull/487075 | 16:09:30 |
Emma [it/its] | that's useful to know | 21:16:46 |