| 25 Jan 2024 |
K900 | Which is slow and means you can't have a full build plan ahead of time | 19:45:28 |
sheep_empress | I think part of the problem I'm having might be because I really don't know the full build plan ahead of time. I don't know what version of esbuild the build needs until I've run pnpm | 19:48:18 |
K900 | Then you need to hardcode it in nixpkgs | 19:48:28 |
K900 | And update it manually when updating the package | 19:48:34 |
K900 | Because nixpkgs tooling does need to know the full build plan ahead of time | 19:48:42 |
sheep_empress | Was worried that was going to be the answer. Thanks for all your help | 19:49:58 |
7c6f434c | Nixpkgs has quite a few generated expression sets, actually | 19:52:55 |
sheep_empress | Hardcoding the version lets it build fine without import-from-derivation, and it's what I might do for my first package for now 😅 | 19:56:02 |
sheep_empress | Future me might change her mind after she's had to update it a few times though. Would love if you could point me towards docs on generated expressions if you think those could help me solve my problem | 19:57:44 |
| Benedikt joined the room. | 20:10:15 |
K900 | Generated expressions isn't a Nix feature | 20:11:32 |
7c6f434c | https://nixos.org/manual/nixpkgs/stable/#var-passthru-updateScript | 20:11:33 |