Tools built on a pinned compilers need to be stored on a repository in order to be installed back in the user's switch. The cache repository was used for this, which contradicts the restriction that the cache isn't used with pinned compiler and might be unsafe.
Use a new temporary repository to make sure that these packages don't leak into the global cache. It is created on the fly and removed when it's no longer needed.
Packages that don't depend on the version of OCaml are no longer pulled from the cache in this case.
This could be added back with more code and more bugs. What do you think ?
Tools built on a pinned compilers need to be stored on a repository in order to be installed back in the user's switch. The cache repository was used for this, which contradicts the restriction that the cache isn't used with pinned compiler and might be unsafe.
Use a new temporary repository to make sure that these packages don't leak into the global cache. It is created on the fly and removed when it's no longer needed.
Packages that don't depend on the version of OCaml are no longer pulled from the cache in this case. This could be added back with more code and more bugs. What do you think ?