On Sat, 27 Feb 2016 21:05:19 +0100, Sönke Ludwig wrote:

Am 17.02.2016 um 14:39 schrieb Sebastiaan Koppe:

On Wed, 17 Feb 2016 13:39:16 GMT, Sebastiaan Koppe wrote:

This has probably been asked 1000 times before, but I want dub to store its cache/fetched packages in another location.

Because of CI and the caching they provide between builds.

Ehm, the question is, is there a way?

Currently the path is hard-coded and the only sane way that I see is to
replace ~/.dub/packages with a symlink to some other directory. This
definitely needs to be improved...

Is there a way to fix this? I want to run dub using docker and cache the packages locally.