!dWFZuHvkEZxYDopEzK:matrix.org

tooling

6300 Members
Let's use this to discuss all Nim tooling. For example Nimble, Atlas, and various editor integrations. Relayed to #nimble on libera.chat and #tooling in our Discord20 Servers

Load older messages


SenderMessageTime
18 Mar 2025
@_discord_98195144192331776:t2bot.iomr.hemlock joined the room.18:06:12
19 Mar 2025
@_discord_1268254977340739675:t2bot.ioprecious04120 joined the room.02:21:44
@_discord_1351793870307987506:t2bot.iodylanmonaghan_22083 joined the room.05:54:04
@_discord_859048690559615016:t2bot.ioi_love_boys4976 joined the room.09:00:39
@_discord_726017160115126333:t2bot.iojmgomez Tooling update: https://forum.nim-lang.org/t/12728 12:08:22
@_discord_233547000426135552:t2bot.iozumi.dxy optional dependencies for nimble genuinely sounds exciting and useful 14:01:13
@_discord_372579559645773828:t2bot.ionasuray 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
@_discord_726017160115126333:t2bot.iojmgomez Crap, we should add a test that covers it 14:51:21
@_discord_372579559645773828:t2bot.ionasuray 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
@_discord_372579559645773828:t2bot.ionasuray 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
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Hell yeah! Features are epic and pretty much exactly what I want 15:15:46
@_discord_726017160115126333:t2bot.iojmgomez Likely yes, maybe narimiran can help 15:19:22
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Out of curiousity, is there something like <pkgname><featurename> that's defined when --feature:<name> is passed? 15:25:15
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] * Out of curiousity, is there something like <pkgname><featurename> that's defined when --feature:<name> is passed to nimble? 15:25:31
@_discord_726017160115126333:t2bot.iojmgomez 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
@_discord_726017160115126333:t2bot.iojmgomez * 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
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] ahh kk thanks! also didn't know that dots were valid in define fkafs before, neat 15:31:49
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] * ahh kk thanks! also didn't know that dots were valid in define flags before, neat 15:34:10
@_discord_719992187890434069:t2bot.ionarimiran Thanks for the ping, jmgomez .

I'm fine either way. Whatever you (plural you) think it's best....
15:34:18
@_discord_282708634171867147:t2bot.iothreefour 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
@_discord_998701806521679972:t2bot.iotheprobs1651 joined the room.07:26:56
@_discord_847834819043655701:t2bot.iosaledjenic joined the room.09:44:22
@_discord_1209489544571785241:t2bot.iosolimanehimite joined the room.18:02:57
21 Mar 2025
@_discord_1292841352513585215:t2bot.iomodevstudio changed their profile picture.00:04:10
@_discord_1352332121456382052:t2bot.iohenrytheodore_4 joined the room.00:57:01
@_discord_497222460383428633:t2bot.iofoggylight changed their profile picture.06:51:34
@_discord_622084895333941248:t2bot.iowakanda6355 joined the room.09:51:32
@_discord_1352611072800067666:t2bot.iomodezti3 joined the room.12:24:19
@_discord_947759774689267732:t2bot.iosbblank1934 joined the room.12:34:36
22 Mar 2025
@_discord_770121427776831490:t2bot.iosms219 joined the room.01:00:30

There are no newer messages yet.


Back to Room ListRoom Version: 6