Mirroring All the Nim Packages
The Problem At $DAY_JOB we like to keep our development environment isolated from the internet1. This means we have to mirror stuff like the Ubuntu and CentOS package repositories, so they are available in our dev environment.
Recently my company has decided to try and develop some tools in Nim, meaning we now had to mirror any an all nim packages so that Developers could install them with nimble2.
Getting the Packages Unlike a lot of languages nim doesn’t have a centralised package repository we can just rsync and serve.