Nix NodeJS | 194 Members | |
| 56 Servers |
| Sender | Message | Time |
|---|---|---|
| 13 Apr 2024 | ||
| i think nix dev applys to devshells though falls back to app and then package and nix run applyes to app and falls back to package | 14:00:18 | |
In reply to @c0ba1t:matrix.orgboth apps and packages | 14:00:45 | |
nix build .packagesnix run .app .packagesnix develop .devShells .app .packagesnix init .templates | 14:02:00 | |
* nix build .packagesnix run .apps .packagesnix develop .devShells .apps .packagesnix init .templates | 14:02:17 | |
| 16:04:46 | ||
| 15 Apr 2024 | ||
| 10:45:29 | ||
| 16 Apr 2024 | ||
| 16:46:31 | ||
| Why can't I
I see that
I guess I somehow need to add my require for mongosh/autocomplete to that mongosh.js file? I thought that because | 16:51:18 | |
| 17 Apr 2024 | ||
| 04:36:36 | ||
| 05:34:06 | ||
| 25 Apr 2024 | ||
| 03:36:37 | ||
Hi, does someone know how get buildNpmPackage working with npm workspaces? It appears to not properly merge the node_modules from the workspace and the root, resulting in missing dependencies | 16:00:26 | |
In reply to @c0ba1t:matrix.orgit does handle them (assuming they are npm workspaces and not the fake ones lerna and such mash together) | 16:17:37 | |
| can you share derivation? | 16:17:41 | |
In reply to @lily:lily.flowershttps://git.tu-berlin.de/proveit/proveit.nix/-/blob/main/pkgs/proofbuddy.nix?ref_type=heads#L89 | 16:20:59 | |
| I can also share the package.json files but the source code is unfortunately not public | 16:21:18 | |
| yes, please share the package.json of the root workspace dir, of the workspace package, and the package-lock.json of the root workspace dir | 16:22:00 | |
| (you can DM if you prefer) | 16:22:08 | |
| (can't promise help though because i'm bedridden recovering from surgery rn. maybe poke me about it like monday or tuesday?) | 16:22:36 | |
In reply to @c0ba1t:matrix.org(yeah i'm trying to look at derivation but i'm wayy too incoherent rn...) | 16:23:17 | |
In reply to @lily:lily.flowersThank you for the offer, wishing you a restful recovery. | 18:00:55 | |
| 26 Apr 2024 | ||
| 23:47:44 | ||
| 23:47:57 | ||
| 27 Apr 2024 | ||
| 00:01:06 | ||
| 00:09:42 | ||
In reply to @c0ba1t:matrix.orgThe problem appears to have been my installPhase, workspaces apparently have two node_modules directories and the one next to the package.json for the workspace also needs to be copied alongside the root node_modules. | 13:38:04 | |
In reply to @c0ba1t:matrix.org* The problem appears to have been my It still doesn't run well but that's due to a bug in the code and not the nix derivation ;) | 13:39:11 | |
In reply to @c0ba1t:matrix.orgohhhh yeah the default installPhase does do that part. i should have noticed that you'd overridden it | 14:55:51 | |
| 29 Apr 2024 | ||
| 15:29:41 | ||
| 20:47:28 | ||