| 25 Mar 2023 |
@ambroisie:belanyi.fr | It's not about trying to execute esbuild, it's earlier | 20:02:44 |
@ambroisie:belanyi.fr | I think I'll need to patch the package file to remove the need for esbuild | 20:03:15 |
Lily Foster | Ah it's trying to download it then. I think there may be a supet secret env var to prevent that but I forget | 20:04:14 |
@ambroisie:belanyi.fr | Mmh it's needed by vite, so I'm not sure how to remove it from the package set | 20:05:17 |
Lily Foster | Maybe try setting ESBUILD_BINARY_PATH = lib.getExe buildPlatform.esbuild; to the derivation? Not sure that'll work though | 20:23:16 |
@ambroisie:belanyi.fr | Ooh, seems to have built! | 20:43:47 |
@ambroisie:belanyi.fr | Thanks for the tip | 20:43:52 |
Lily Foster | Oh good! (Honestly I'm a tad surprised that worked...) | 20:44:52 |
raitobezarius | #nodejsmoments | 20:45:54 |
@ambroisie:belanyi.fr | Let's see if I broke everything now | 20:52:34 |
| * @ambroisie:belanyi.fr launches nixos-rebuild | 20:52:46 |
@ambroisie:belanyi.fr | Seems to be working 🎉 | 21:06:22 |
| 26 Mar 2023 |
| rbutani joined the room. | 00:34:24 |
dotlambda | In reply to @lily:lily.flowers Maybe try setting ESBUILD_BINARY_PATH = lib.getExe buildPlatform.esbuild; to the derivation? Not sure that'll work though Note that the version needs to match up with the one in package-lock.json. See e.g. the expression for deltachat-desktop. | 16:34:09 |
dotlambda | Ambroisie: ^ | 16:34:30 |
@ambroisie:belanyi.fr | Arf | 17:19:43 |