Skip to content

Instantly share code, notes, and snippets.

@jessearmand
Created May 17, 2014 18:50
Show Gist options
  • Save jessearmand/14807c177cf45aa998ca to your computer and use it in GitHub Desktop.
Save jessearmand/14807c177cf45aa998ca to your computer and use it in GitHub Desktop.
unregister packages belonging to a previous version of ghc
#!/bin/sh
ghc-pkg check --simple-output | xargs -n 1 ghc-pkg unregister --force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment