Skip to content

Instantly share code, notes, and snippets.

@sagax
Created February 28, 2018 04:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sagax/08054c8c993fac92f075c2a602f50d7c to your computer and use it in GitHub Desktop.
Save sagax/08054c8c993fac92f075c2a602f50d7c to your computer and use it in GitHub Desktop.
if your need removed all cabal packages after "rm -rf ~/.cabal"
for item in $(cabal list --installed --simple-output | awk '{print $1}');do ghc-pkg unregister $item; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment