Skip to content

Automated Dependency Updates for Haskell Cabal

Categories: haskell

Renovate supports updating Haskell Cabal dependencies.

File Matching

By default, Renovate will check any files matching the following regular expression: \.cabal$.

For details on how to extend a manager's fileMatch value, please follow this link.

Supported datasources

This manager supports extracting the following datasources: hackage.

Default config

{
  "fileMatch": [
    "\\.cabal$"
  ],
  "pinDigests": false
}

Additional Information

Supports dependency extraction from build-depends fields in Cabal package description files. They use the extension .cabal, and are used with the Haskell programming language.

Limitations:

  • The dependencies of all components are mushed together in one big list.
  • Fields like pkgconfig-depends and build-tool-depends are not handled.
  • The default PVP versioning is subject to limitations.

If you need to change the versioning format, read the versioning documentation to learn more.