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
Fwiw, I'd expect cabal new-clean to remove the dist-newstyle/ which may contain all sorts of executables and local artifacts (i.e. non-cabal-store artifacts)
Activity
dcoutts commentedon Dec 17, 2015
What should it clean do you think? All the local packages and cached info? Or just one package, or ?
ezyang commentedon Dec 17, 2015
Current cabal clean just cleans one package (e.g. that happens if you use it in a sandbox?) so that's my inclination. Though I'm not sure.
hvr commentedon Dec 19, 2015
Fwiw, I'd expect
cabal new-cleanto remove thedist-newstyle/which may contain all sorts of executables and local artifacts (i.e. non-cabal-store artifacts)lspitzner commentedon May 12, 2016
note that custom Setup.hs gets compiled into
$PACKAGE/dist/..even with new-build. so new-build clean might need toas well. (sorry for the haskell/bash mixture, it is horrible.)
ezyang commentedon Aug 24, 2016
Putting this low priority because the workaround is really simple (just delete dist-newstyle yourself.)
gbaz commentedon Oct 25, 2017
Its irritating to discover the workaround -- this just hit me and I ended up here :-)
Add cabal new-clean (closes haskell#2957)
Add cabal new-clean (closes #2957)