I am currently trying to create a flake for LibVFIO’s arcd tool which is written in Nim. I have a repo with a flake.nix added here. I originally manually packaged all the dependencies listed in libvfio.nimble, but after some trouble I switched to nimble2nix, which unfortunately didn’t help. With both methods, the build always fails with
> /nix/store/cpydrynvv097qmldsn3wvp44n8ihmqx8-uuids-8cb8720/uuids.nim:2:8 Error: cannot open file: isaac.
Looking at the Nix store, I can see that isaac is building correctly, the same as the other modules. At the beginning of the build, the nix log outputs
found nimble input /nix/store/kdh54arssp1cwi5ina26m01k5zp63vg5-isaac-45a5cbb.
I’m pretty unfamiliar with using Nim with NixOS, so if anybody can help I would greatly appreciate it.