Can I make `build` skip the cloning from Github step?

I copied my Julia packages from a computer to another computer. The computer I copied it to doesn’t have internet access. But I need to re-build some packages. When I run ] build PkgName it fails with

ERROR: failed to clone from GitHub - JuliaRegistries/General: The official registry of general Julia packages, error: GitError(Code:ERROR, Class:Net, curl error: Could not resolve host: github.com
)

Is there a way to skip the cloning from Github step?

1 Like

I’m not sure whether there’s an official way to do this. As an ugly workaround you could perhaps try

using Pkg
Pkg.UPDATED_REGISTRY_THIS_SESSION[] = true

and see whether that helps.

1 Like

No cigar.