Created
February 28, 2018 04:41
-
-
Save sagax/08054c8c993fac92f075c2a602f50d7c to your computer and use it in GitHub Desktop.
if your need removed all cabal packages after "rm -rf ~/.cabal"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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