I created packages of nim for Fedora in a copr repo: https://copr.fedorainfracloud.org/coprs/petersen/nim/ (x86_64 and aarch64):
ie if you are using fedora you can enable the repo and install with:
$ sudo dnf copr enable petersen/nim
$ sudo dnf install nim
I am a nim newcomer and noobie, but let me know of any feedback, etc.
ps For context it seems the former Fedora package maintainer dropped earlier the package this year: it was still at verion 1.0.4.
If there is sufficient interest or demand I might try to revive the package later, though I found the latest version harder to build: testsuite failures and docs seem to need network...
Good question: I think I didn't build the docs... since it seems to need a network connection if I am not mistaken? Is there a workaround for that?
That is actually not a real problem for Fedora Copr builds (they allow net to be enabled), but certainly not possible for an official Fedora Linux package, so I could re-enable docs for now (I was actually originally aiming directly to unretire the Fedora package, but it was rather harder to build than I expected: the original 1.0.4 package had docs and testsuite running).
How did you deal with nim doc? That is, where did you put dochack.js and nimdoc.css?
PR welcome to proceed as described here: https://github.com/nim-lang/Nim/issues/14424#issuecomment-849803994