@hackage / haskell-updater

Rebuild Haskell dependencies in Gentoo

Latest1.5.0.0

About

Metadata

  • Last updated , by hololeap
  • License GPL-3.0-or-later
  • Categories Package Distribution
  • Maintained by: haskell@gentoo.org

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.1
  2. 9.10.1
  3. 9.8.4
  4. 9.6.6
  5. 9.4.8
  6. 9.2.8
  7. 9.0.2

Package Flags

Use the -f option with cabal commands to enable flags

    pedantic (off by default)

    Enable -Werror

Readme

haskell-updater

Rebuilds Haskell packages on Gentoo after a GHC upgrade or a dependency upgrade.

Updating Haskell packages

Sometimes:

emerge -auvDN --keep-going @world

has trouble figuring out how to update Haskell packages. Providing emerge with the full list of dev-haskell packages that have upgrades available can sometimes help:

emerge -avu --oneshot --keep-going --with-bdeps=y @world
haskell-updater -- --verbose-conflicts

Sometimes we have sub-slot blockers (when updating ghc or some specific package there are a list of blockers). Subslot blockers are a portage limitation (bug).

To find solution use larger --backtrack= with emerge and haskell-updater.

Experimental portage invocation

If you run into errors where haskell-updater tries to reinstall a masked or unavailable package, try haskell-updater --mode=reinstall-atoms or haskell-updater --world. If you find any bugs, report them to the bug tracker.