99b23e60f4bc1c0f3a77ef778c70ac8ca7b53573
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