!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 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:53:49
@wst:imagisphe.re@wst:imagisphe.reI wonder if the "frontend" can just be wrapped with electron by some nixpkgs function. As far as I understand electron just renders the frontend, so I don't have to build electron from their repo22:01:47
@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

Show newer messages


Back to Room ListRoom Version: 6