How can I uninstall a version of a Cabal package?

后端 未结 4 1147
春和景丽
春和景丽 2020-12-12 11:47

Happstack Lite is breaking on me because it\'s getting blaze-html version 0.5 and it wants version 0.4. Cabal says that both versions 0.4.3.4 and 0.5.0.0 are insta

4条回答
  •  伪装坚强ぢ
    2020-12-12 12:27

    There is also the cabal-uninstall package which provides a cabal-uninstall command. It unregisters the package and deletes the folder. It is worth mentioning though that it passes --force to ghc-pkg unregister so it can break other packages.

提交回复
热议问题