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

Support removing old build plans #2942

Closed
kseo opened this issue Jan 21, 2017 · 2 comments
Closed

Support removing old build plans #2942

kseo opened this issue Jan 21, 2017 · 2 comments

Comments

@kseo
Copy link

kseo commented Jan 21, 2017

It would be nice if I can see the list of installed build plans and remove old ones using stack command. Old build plans take up too much space of my disk.

Removing files under ~/.stack/ is too error-prone.

http://stackoverflow.com/questions/39227397/how-to-remove-old-build-plans-installed-by-haskell-stack

@decentral1se
Copy link
Member

Removing files under ~/.stack/ is too error-prone.

In this case, in the global project, it might be a bit tricky? Build plan files seem to be mixed around the place. However, for isolated projects, you are aware you can simply do a ls .stack-work/install/<os>?

I like the idea though, what would that interface look like? An argument on what Stack command? Would be nice on stack clean but doesn't fit (only for packages). Doesn't seem to fit on stack build either?

@mgsloan
Copy link
Contributor

mgsloan commented Feb 1, 2017

Duplicate of #133

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

No branches or pull requests

3 participants