| 30 Apr 2024 |
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 |
Lily Foster | i don't think nixpkgs has set nodejs = nodejs_22 yet (just node_20) | 20:47:27 |
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 (also what problems? that's concerning if their build tool didn't work on release....) | 20:47:44 |
Lily Foster | (i guess it is nodejs admittedly) | 20:47:54 |
matejam |
(if you want, you can set npmBuildScript = "prod" and include npmBuildHook as well and remove the postBuild)
Hm, for some reason if I do that it doesn't generate files that npm run prod generates in $src/share/php/yota-laravel/public/ where I want them.
| 20:56:46 |
Cobalt | Iirc, it is on 22 on unstable. I don't remember the specifics but an unstable bum recently made our builds fail until we returned to 18. Iirc, it was similar to https://github.com/nodejs/node-gyp/issues/3029 | 20:59:57 |
Lily Foster | In reply to @matejam:matrix.org
(if you want, you can set npmBuildScript = "prod" and include npmBuildHook as well and remove the postBuild)
Hm, for some reason if I do that it doesn't generate files that npm run prod generates in $src/share/php/yota-laravel/public/ where I want them.
share derivation? (e.g. on a pastebin?) that seems weird | 21:00:53 |