Skip to content
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

how about ~/.cabal/store/ ? #5

Open
juhp opened this issue Jan 22, 2024 · 2 comments
Open

how about ~/.cabal/store/ ? #5

juhp opened this issue Jan 22, 2024 · 2 comments

Comments

@juhp
Copy link

juhp commented Jan 22, 2024

Have you considered extending to allow also cleaning ~/.cabal/store/ ?

Or is there any other tool for that - other than a filemanager (but it can be error-prone)?

@andreasabel
Copy link
Owner

The problem with removing from ˜/.cabal/store is that one might have installed binaries using cabal which point back to the store. Deleting from the store will make these executables dysfunctional.

There were rumors about a GSoC project to implement garbage collection for cabal build products, but I don't know whether it has happened or will happen.
CC @fgaz

@fgaz
Copy link

fgaz commented Jan 23, 2024

The upstream ticket is haskell/cabal#3333.

In the end the GSoC project wasn't picked up.

There are a few third party tools, such as https://github.com/phadej/cabal-extras/tree/master/cabal-store-gc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants