How can I build a racket package "offline"?

Hi, I'm trying to build a rash with nix.
Obviously standard raco pkg install fails with http errors (this is intentional by nix).

Then I tried to link and call setup, but it failed....

Is there any standard way to achieve offline build?
I'm total newbie with raco, any help is appreciated!