For leiningen v2:
Place the profile.clj file in. /users/name/.lein (or the Linux equivalent) containing the following
{:user {;Location of local repository :local-repo "Drive/Path" ;Location of locally installed jars ;(that can't be downloaded from public repo's) :repositories {"local" {:url "file://Drive/Path" :releases {:checksum :ignore}}}}}
This user profile is combined with all project profiles during lein execution.
A good place to look for such information is the annotated profile on lein github.
source share