18 Mar 2025 |
| mr.hemlock joined the room. | 18:06:12 |
19 Mar 2025 |
| precious04120 joined the room. | 02:21:44 |
| dylanmonaghan_22083 joined the room. | 05:54:04 |
| i_love_boys4976 joined the room. | 09:00:39 |
jmgomez | Tooling update: https://forum.nim-lang.org/t/12728 | 12:08:22 |
zumi.dxy | optional dependencies for nimble genuinely sounds exciting and useful | 14:01:13 |
nasuray | there is no newline at the end of the config.nims ....so the nim_builder on nixos isn't working after adds it's own line which makes it switch(..)switch(..) 😠| 14:49:51 |
jmgomez | Crap, we should add a test that covers it | 14:51:21 |
nasuray | I'll also update nim_builder to just pad the lines it adds to prevent a confusing error for anyone else that is missing a newline. | 14:56:24 |
nasuray | Is the current setup for nimble-guide preferred? Its currently published whenever the content is updated but it would make more sense to me to publish on version tag pushes, especially if info about un-released features is added to it. I can submit a PR to update the workflow but someone would need to add a branch protection rule for v* tags to the pages environment. | 15:15:32 |
Robyn [She/Her] | Hell yeah! Features are epic and pretty much exactly what I want | 15:15:46 |
jmgomez | Likely yes, maybe narimiran can help | 15:19:22 |
Robyn [She/Her] | Out of curiousity, is there something like <pkgname><featurename> that's defined when --feature:<name> is passed? | 15:25:15 |
Robyn [She/Her] | * Out of curiousity, is there something like <pkgname><featurename> that's defined when --feature:<name> is passed to nimble? | 15:25:31 |
jmgomez | Yep, you can see it in the nimble guide seems like that part is missing in the forum post
Checking Active Features in Code
In Nim code, you can check if a given feature is activated using the when operator:
when defined(feature.awesomeAsyncPackage.chronos):
import chronos
The format follows: feature.packageName.featureName. | 15:29:10 |
jmgomez | * Yep, you can see it in the nimble guide seems like that part is missing in the forum post
Checking Active Features in Code
In Nim code, you can check if a given feature is activated using the when operator:
when defined(feature.awesomeAsyncPackage.chronos):
import chronos
The format follows: feature.packageName.featureName. | 15:29:29 |
Robyn [She/Her] | ahh kk thanks! also didn't know that dots were valid in define fkafs before, neat | 15:31:49 |
Robyn [She/Her] | * ahh kk thanks! also didn't know that dots were valid in define flags before, neat | 15:34:10 |
narimiran | Thanks for the ping, jmgomez .
I'm fine either way. Whatever you (plural you) think it's best.... | 15:34:18 |
threefour | jmgomez the release tag for the new nimlangserver has an extra period (v.1.10.0 ). Not sure if that messes things up. | 19:16:08 |
20 Mar 2025 |
| theprobs1651 joined the room. | 07:26:56 |
| saledjenic joined the room. | 09:44:22 |
| solimanehimite joined the room. | 18:02:57 |
21 Mar 2025 |
| modevstudio changed their profile picture. | 00:04:10 |
| henrytheodore_4 joined the room. | 00:57:01 |
| foggylight changed their profile picture. | 06:51:34 |
| wakanda6355 joined the room. | 09:51:32 |
| modezti3 joined the room. | 12:24:19 |
| sbblank1934 joined the room. | 12:34:36 |
22 Mar 2025 |
| sms219 joined the room. | 01:00:30 |