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

stack clean --full may not work properly with docker + nix #3471

Closed
mgsloan opened this issue Oct 4, 2017 · 1 comment
Closed

stack clean --full may not work properly with docker + nix #3471

mgsloan opened this issue Oct 4, 2017 · 1 comment

Comments

@mgsloan
Copy link
Contributor

mgsloan commented Oct 4, 2017

To fix #2010, "stack clean" was made to no longer run within a docker or nix environment. This broke cleaning within the nix-shell as described in #3468. The solution in #3470 is to not enter docker for stack clean --full, but enter into nix. I don't think this will work properly for docker + nix.

A better solution might be to make stack clean --full work within the containers, by not trying to delete the _home dir mentioned in #2010

@snoyberg
Copy link
Contributor

snoyberg commented Apr 8, 2019

I've reworked stack clean to no longer use an EnvConfig at all, which should fully address these concerns. Closing.

@snoyberg snoyberg closed this as completed Apr 8, 2019
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

2 participants