-
Notifications
You must be signed in to change notification settings - Fork 698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no way to move setup-exe-cache
to another directory
#1234
Comments
I'm inclined to close this. Setup exe cache directory is defined relative to |
@23Skidoo You can set However I could not find a way to set a directory for setup exe cache, which is the only directory for which $ ls ~/.cabal/
setup-exe-cache/ I'd like this issue reopened. |
@simukis Instead of adding an explicit |
See my suggestion in #1126, so we can avoid an explicit |
See #1242. |
Is there any progress on this? I'm bumping into this right now and don't know how to work around it... |
Also, seconding @mietek , I'd like to see this issue reopened. The issue is with the following lines: cabalDir <- defaultCabalDir
let setupCacheDir = cabalDir </> "setup-exe-cache" from --TODO: misleading, there's no way to override this default
-- either make it possible or rename to simply getCabalDir.
defaultCabalDir :: IO FilePath
defaultCabalDir = getAppUserDataDirectory "cabal" It seems like this just needs fixing, as per the TODO. I propose doing so by adding a |
There has been no progress on this inside cabal-install. In order to work around valderman/haste-compiler#257, I created an empty Cabal package, |
This is likely to be solved by #680 and related PRs. |
According to the #958 (comment) setup-exe-cache is hardcoded to
~/.cabal/setup-exe-cache
and there's no way to change it. Looking at the code, path building didn't change and it is still hardcoded.Making setup-exe-cache movable is a prerequisite for #680
The text was updated successfully, but these errors were encountered: