You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's documented that, when using local no-index repositories.
cabal-install creates a .cache file, and will aggressively use its contents if it exists. Therefore if you change the contents of the directory, remember to wipe the cache too.
but cabal-install offers no warning or message about this leaving the user staring, confused, at a solver failure. See for example #9133.
Expected behavior
Cabal should either
Provide a better caching mechanism, detecting changes to the local repository.
Remnind the user that it will only look at the cache file and that the user should manually delete the cache file if the repository has changed.
The text was updated successfully, but these errors were encountered:
Regarding #9133, i think i built the one failing package like the others. Maybe i rebuilt it, i do not think i changed the version. When i was inspecting the sdist dirs, i thought that the noindex.cache and the tar.gz files were both outcomes of cabal v2-install. Maybe, if it is not too expensive, could be worth always regenerating the noindex.cache when the command succeeds
Describe the bug
It's documented that, when using local no-index repositories.
but cabal-install offers no warning or message about this leaving the user staring, confused, at a solver failure. See for example #9133.
Expected behavior
Cabal should either
The text was updated successfully, but these errors were encountered: