The cabal-helper package

[ Tags: agpl, distribution, library, program ] [ Propose Tags ]

cabal-helper provides a library which wraps the internal use of executables to lift the restrictions imposed by linking against versions of GHC before 7.10. cabal-helper uses a wrapper executable to compile the actual cabal-helper executable at runtime while linking against an arbitrary version of Cabal. This runtime-compiled helper executable is then used to extract various bits and peices from Cabal on disk state (dist/setup-config) written by it's configure command. In addition to this the wrapper executable also supports installing any version of Cabal from hackage in case it cannot be found in any available package database. The wrapper installs these instances of the Cabal library into a private package database so as to not interfere with the user's packages. Furthermore the wrapper supports one special case namely reading a state file for Cabal itself. This is needed as Cabal compiles it's Setup.hs using itself and not using any version of Cabal installed in any package database. Currently cabal-helper supports Cabal >= 1.16.


Versions,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, (info)
Dependencies base (>=4.5 && <5), bytestring, Cabal, data-default, directory, filepath, mtl, process, template-haskell, temporary, transformers [details]
License AGPL-3
Author Daniel Gröber <>
Category Distribution
Source repo head: git clone
Uploaded Thu Mar 12 11:06:55 UTC 2015 by DanielG
Distributions Arch:, Debian:, NixOS:
Executables cabal-helper-wrapper
Downloads 21668 total (518 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-10 [all 8 reports]
Hackage Matrix CI


  • Distribution
    • Distribution.Helper


Maintainer's Corner

For package maintainers and hackage trustees