This is an issue with `nim-git`, i added a [comment](https://aur.archlinux.org/pkgbase/nim-git#comment-906500)
the [packaging instructions](https://nim-lang.github.io/Nim/packaging.html) were changed in [this commit](https://github.com/nim-lang/Nim/commit/6c15958a835b645f3acdc3d1d012b10d0df43454) meaning nim now expects its libraries to be in /usr/nim/lib/nim. this is a welcome change, imho; it should close some outstanding packaging-related issues, but it will cause some problems until packagers update to the new layout. for now, i recommend using choosenim.