| 30 Apr 2024 |
Lily Foster | oh heck yeah, that's awesome :) | 20:45:58 |
matejam |
unless it has C++ code in which case, nodejs breaks that a little between versions and you may want to pin one
Yeah, I'll pin it. I had to add NODE_OPTIONS="--openssl-legacy-provider"; for SSL to work so I guess I do use C++
| 20:46:28 |
Lily Foster | In reply to @matejam:matrix.org Here's a working version: https://github.com/MatejaMaric/yota-laravel/blob/c114ebc3c725a67a19d148a95543ed307094c659/derivation.nix Thanks a lot Lily! 🤗 (if you want, you can set npmBuildScript = "prod" and include npmBuildHook as well) | 20:46:36 |
Lily Foster | In reply to @matejam:matrix.org Here's a working version: https://github.com/MatejaMaric/yota-laravel/blob/c114ebc3c725a67a19d148a95543ed307094c659/derivation.nix Thanks a lot Lily! 🤗 * (if you want, you can set npmBuildScript = "prod" and include npmBuildHook as well and remove the postBuild) | 20:46:41 |
Cobalt | Iirc, the nodejs 22 LTS has some problems with node gyp. You might want to stick with 18 for a few more weeks until testing has been done | 20:46:49 |
Lily Foster | In reply to @c0ba1t:matrix.org Iirc, the nodejs 22 LTS has some problems with node gyp. You might want to stick with 18 for a few more weeks until testing has been done well if they're using npmHooks and nodejs, it'll be 20 for a bit | 20:47:13 |