!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

207 Members
60 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
30 Apr 2024
@lily:lily.flowersLily 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
@c0ba1t:matrix.orgCobaltIirc, 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 done20:46:49
@lily:lily.flowersLily 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:lily.flowersLily Foster i don't think nixpkgs has set nodejs = nodejs_22 yet (just node_20) 20:47:27
@lily:lily.flowersLily 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:lily.flowersLily Foster (i guess it is nodejs admittedly) 20:47:54
@matejam:matrix.orgmatejam

(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
@c0ba1t:matrix.orgCobaltIirc, 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/302920:59:57
@lily:lily.flowersLily 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

Show newer messages


Back to Room ListRoom Version: 6