One problem with submodules is that Nixpkgs repository has grown SO large. It takes quite a few to download it. I tried pinning it directly via URI, but I hit some chicken or egg problem that I forgot the details to. You definitely need to set nixPath
to the pinned nixpkgs, and I remember that’s where the problem struck.