!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

202 Members
55 Servers

Load older messages


SenderMessageTime
18 Feb 2026
@emma:rory.gayEmma [it/its]the problem is, i am upstream01:24:02
@emma:rory.gayEmma [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
@pyrox:pyrox.devdish [Fox/It/She] https://github.com/NixOS/nixpkgs/pull/492192 to fully remove all tailwindcss packages 17:58:44
@pyrox:pyrox.devdish [Fox/It/She]also closed a bunch of old issues related to now-deleted nodePackages18:13:52
@keiichi:matrix.org@keiichi:matrix.org left the room.23:23:26
20 Feb 2026
@emma:rory.gayEmma [it/its]hm, there's no way to cache an npm package build, is there?03:41:46
@emma:rory.gayEmma [it/its](ofcourse, given the same inputs and outputs)03:42:29
@emma:rory.gayEmma [it/its]i guess ill mess with shoving them in a separate derivation and making the consumer not do an npm i04:04:16
@emma:rory.gayEmma [it/its]hm, how would i disable npmConfigHook?04:16:29
@emma:rory.gayEmma [it/its] npmConfigHook = "true"; didnt work 04:16:44
@phanirithvij:matrix.orgloudgolem I see some derivations doing local postPatchHooks=() in postPatch, eg. pagefind. maybe that 04:20:10
@phanirithvij:matrix.orgloudgolem * I see some derivations doing local postPatchHooks=() in postPatch, for eg. pagefind. maybe that 04:20:35
@phanirithvij:matrix.orgloudgolem * I see some derivations doing local postPatchHooks=() in postPatch, for eg. pagefind. maybe that could work 04:20:44
@emma:rory.gayEmma [it/its]

'local' unexpected

i must be doing something wrong here :')

04:22:00
@emma:rory.gayEmma [it/its]oh wait, i see04:22:20
@phanirithvij:matrix.orgloudgolemmaybe try without local then, pdfding is using subshells.04:22:45
@phanirithvij:matrix.orgloudgolem* maybe try without local then, pagefind is using subshells.04:22:50
@emma:rory.gayEmma [it/its] i missed the in postPatch part :P 04:23:02
@emma:rory.gayEmma [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:rory.gayEmma [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
@phanirithvij:matrix.orgloudgolemit also throws just when doing fetchNpmDeps04:26:37
@emma:rory.gayEmma [it/its]which... i'm not04:27:01
@emma:rory.gayEmma [it/its]:P04:27:50
@emma:rory.gayEmma [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:rory.gayEmma [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:rory.gayEmma [it/its]got it working with just a plain makeDerivation05:17:42
@emma:rory.gayEmma [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:rory.gayEmma [it/its]error isnt making much sense as im not stripping or anything05:31:58
@rosssmyth:matrix.org@rosssmyth:matrix.orgFor easier doc finding, I do have a PR up documenting all the hooks and their parameters https://github.com/NixOS/nixpkgs/pull/48707516:09:30
@emma:rory.gayEmma [it/its]that's useful to know21:16:46

Show newer messages


Back to Room ListRoom Version: 6