Closed sternenseemann closed 3 years ago
oh yeah, that's a probem for all distros.
the cache is relative to the modules zz.toml because out of lazyness is just change current directory to the module before calling index().
it was bound to cause problems eventually.
now the real question is where should the cache go? golang uses a per-user global cache, which makes it more space efficient, rust puts it per project, which makes it easier to clean.
quickfix looks easy actually. we can just not write a cachefile if there are no repos.
std modules can't have repos, because they wouldnt be stable
please reopen if its not fixed
In the
zz
version packaged for NixOS, we install the modules shipped with the compiler globally into a read-only file system. This means that compiling anything with dependencies on that library will fail with: