!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

180 Members
51 Servers

Load older messages


SenderMessageTime
28 Nov 2024
@drupol:matrix.org@drupol:matrix.orgOK 16:22:39
@drupol:matrix.org@drupol:matrix.orgI will let him know16:22:44
@drupol:matrix.org@drupol:matrix.orgThanks for the help :) I'll keep you posted16:22:53
@drupol:matrix.org@drupol:matrix.org ghpzin: Do you think I should submit a PR to fix this upstream? 16:23:33
@9hp71n:matrix.orgghpzin As in nixpkgs or open-webui ?
open-webui preferably would look into why it happens, but afaik for most of these problems people just tell to add --max-old-space-size with some high number and if it works - it works.
16:27:40
@9hp71n:matrix.orgghpzinPretty sure in nixpkgs there are a few of those too.16:28:15
@9hp71n:matrix.orgghpzin Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number.
If you want to just temp override your flake, patch:
https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6
(thought it couples to frontend with version/src, because it is not exposed from nixpkgs package)
16:29:47
@9hp71n:matrix.orgghpzin Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number.
If you want to just temp override your flake, patch:
https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6
(I copy-pasted frontend with version/src, but there is probably a better way to get it from nixpkgs package)
16:31:26
@9hp71n:matrix.orgghpzin Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number:
3 according to search:
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20max-old-space-size&type=code

If you want to just temp override your flake, patch:
https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6
(I copy-pasted frontend with version/src, but there is probably a better way to get it from nixpkgs package)
16:32:44
@9hp71n:matrix.orgghpzin @Pol
As in nixpkgs or open-webui ?
open-webui preferably would look into why it happens, but afaik for most of these problems people just tell to add --max-old-space-size with some high number and if it works - it works.
16:35:08
@9hp71n:matrix.orgghpzin Pretty sure in nixpkgs there are a few of those too, that just have --max-old-space-size with some higher number - 3 according to search:
https://github.com/search?q=repo%3ANixOS%2Fnixpkgs%20max-old-space-size&type=code

If you want to just temp override your flake, patch:
https://gist.github.com/ghpzin/2c953016de3f744648ad55fcb1cc7ad6
(I copy-pasted frontend with version/src, but there is probably a better way to get it from nixpkgs package)
16:35:41
@drupol:matrix.org@drupol:matrix.orgThank you :)16:36:21
@drupol:matrix.org@drupol:matrix.org Going to submit the patch to nixpkgs 16:36:27
@drupol:matrix.org@drupol:matrix.orgIf you can validate it: https://github.com/NixOS/nixpkgs/pull/35989116:42:14
@9hp71n:matrix.orgghpzin @Pol :
Tried and commented.
Surprisingly previous version 0.4.4 from nixos-unstable builds fine either way, so upstream probably added something between those versions that is heavy enough to trip over memory limits.
17:20:30
@drupol:matrix.org@drupol:matrix.orgThank you :)17:21:20
@drupol:matrix.org@drupol:matrix.orgMerging this now17:21:26
29 Nov 2024
@bl1nk:matrix.orgbl1nk changed their profile picture.01:11:44
@bl1nk:matrix.orgbl1nk changed their profile picture.01:12:00
@lassulus:lassul.uslassulus changed their profile picture.18:30:07
2 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She] changed their profile picture.19:59:08
3 Dec 2024
@pyrox:pyrox.devdish [Fox/It/She] trying to package something that needs me to patch its yarn.lock. How can I pass that change through to fetchYarnDeps so that the dependencies fetch properly? 19:33:15
@pyrox:pyrox.devdish [Fox/It/She] I've tried making a patch and passing in patches, as well as a custom postPatch, and neither worked 19:34:10
@pyrox:pyrox.devdish [Fox/It/She] also, I'm going to make a PR dropping the nodePackages.webpack package, as nothing in-tree uses it, and if you're making a node package, it should be pulled from your lockfile via your package manager anyways. webpack-dev-server and webpack-cli are fine to keep, though. 23:48:29
@pyrox:pyrox.devdish [Fox/It/She] also, I'm going to make a PR dropping the nodePackages.webpack package, as nothing in-tree uses it, and if you're making a node package, it should be pulled from your lockfile via your package manager anyways. webpack-dev-server and webpack-cli are fine to keep, though, so I'm writing those packages to build with nixpkgs tooling 23:48:40
4 Dec 2024
@tomodachi94:matrix.orgTomodachi94 (they/them)(Not sure if you found it already, but there's a list of packages needing repackaging here: https://github.com/orgs/NixOS/projects/83)00:50:45
@pyrox:pyrox.devdish [Fox/It/She]yeah, I've been working through that00:52:58
@tomodachi94:matrix.orgTomodachi94 (they/them)Most of them are low-hanging fruit that just need a maintainer who wants to commit to maintaining it for at least two release cycles. Some could stand to be dropped (there's a view at https://github.com/orgs/NixOS/projects/83/views/9 where I flagged some packages in the same list; use your judgment and double-check everything before you drop it)00:53:05
@pyrox:pyrox.devdish [Fox/It/She]if you see the pending PRs list(pyrox0 is my github username)00:53:07
@tomodachi94:matrix.orgTomodachi94 (they/them)Ah that's you 💖00:53:24

Show newer messages


Back to Room ListRoom Version: 6