!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

209 Members
59 Servers

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


SenderMessageTime
10 Nov 2023
@daniel:nopemail.orgdaniel * I'm successfully deploying a SvelteKit project without issues using buildNpmPackage, can be seen here for reference: https://github.com/danielalvsaaker/tf-viewer-net/blob/main/frontend/default.nix 22:56:55
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers

so yeah i guess you could just change the makeWrapper to this:

    makeWrapper ${pkgs.nodejs-slim_20}/bin/node $out/bin/sveltepackage \
      --add-flags --env-file=.env \
      --add-flags $out/lib/node_modules/sveltepackage
do I need that wrapper?
22:57:43
@lily:lily.flowersLily Fosteri guess you don't need it22:58:10
@daniel:nopemail.orgdaniel * I'm successfully packaging a SvelteKit project without issues using buildNpmPackage, can be seen here for reference: https://github.com/danielalvsaaker/tf-viewer-net/blob/main/frontend/default.nix 22:58:10
@lily:lily.flowersLily Fosteri assumed you wanted something to run it like the sveltekit docs were suggesting22:58:20
@peter-lustig:matrix.orgpeter-lustig
In reply to @lily:lily.flowers
i assumed you wanted something to run it like the sveltekit docs were suggesting
basically, my goal is to just get it with inputs.sveltekit-package.${pkgs.system}.default; and it does all the stuff. I run it on nginx
22:59:51
@peter-lustig:matrix.orgpeter-lustigthen I would just set the proxypass and it communicates with the db and done23:00:20
@peter-lustig:matrix.orgpeter-lustigthat is the plan at least23:00:29

Show newer messages


Back to Room ListRoom Version: 6