!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

202 Members
58 Servers

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


SenderMessageTime
17 Jul 2024
@c0ba1t:matrix.orgCobalt *

So my first guess would be to

  1. build the frontend and then
  2. build the electron app

in separate derivations. For 2. you would have to replicate the logic from copy:assets in the preBuild/ patchPhase phase using the compiled output from 1.

21:54:17
@wst:imagisphe.re@wst:imagisphe.reBut I'm getting ahead of myself22:01:55
@wst:imagisphe.re@wst:imagisphe.reI see22:03:44
@wst:imagisphe.re@wst:imagisphe.re So the frontend part lives in joi as far as I understood 22:05:06
@c0ba1t:matrix.orgCobaltI'm not too sure about that. You would likely lose some functionlaity. Their electron app is a bit more than a simple wrapper and also, e.g., offers tray support and appears to be doing some fancy stuff to make it appear more native-sh.22:05:05
@wst:imagisphe.re@wst:imagisphe.reTo build it I would need to run first pull the dependencies in advance, since there's no network while building derivation22:06:20
@c0ba1t:matrix.orgCobaltRedacted or Malformed Event22:05:20
@c0ba1t:matrix.orgCobalt
In reply to @wst:imagisphe.re
So the frontend part lives in joi as far as I understood
I think that's just their UI kit. The build job in the Makefile only directly calls out to build web and afterwards electron.
22:10:29
@c0ba1t:matrix.orgCobalt You will probably first want to try to get a derivation with the equivalent of build:web to work. Afterward, approach build:electron. 22:12:07
@c0ba1t:matrix.orgCobalt It's a bit late in my TZ so I'm off for today, I can replicate your problem with the yarn.lock and will try to take a look at it tomorrow. 22:15:42

Show newer messages


Back to Room ListRoom Version: 6