3 # DESCRIPTION: unregister broken GHC packages.
4 # Run this a few times to resolve dependency rot in installed packages.
5 # ghc-pkg-clean -f cabal/dev/packages*.conf also works.
6 packages
=$
(ghc-pkg check $
* 2>&1 |
14 ghc-pkg
"$@" unregister
$p