You have convinced me to look in to Nim! Can you speak to the build system(s)? CMake is the bane of my existence.
You can also compile C projects with Nim like bearssl [1]. Nim takes care to compile the C files and recompile them when config flags change. It's actually really nice.
1: https://github.com/status-im/nim-bearssl/blob/99fcb3405c55b2...