| 17 Jul 2024 |
Cobalt | * So my first guess would be to
- build the frontend and then
- 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 | But I'm getting ahead of myself | 22:01:55 |
@wst:imagisphe.re | I see | 22:03:44 |
@wst:imagisphe.re | So the frontend part lives in joi as far as I understood | 22:05:06 |
Cobalt | I'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 | To build it I would need to run first pull the dependencies in advance, since there's no network while building derivation | 22:06:20 |
Cobalt | Redacted or Malformed Event | 22:05:20 |
Cobalt | 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 |
Cobalt | 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 |
Cobalt | 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 |