query
On this page

doJailbreak

pkgs.haskell.lib.doJailbreak

Docs pulled from | This Revision | 13 minutes ago


doJailbreak enables the removal of version bounds from the cabal file. You may want to avoid this function.

This is useful when a package reports that it can not be built due to version mismatches. In some cases, removing the version bounds entirely is an easy way to make a package build, but at the risk of breaking software in non-obvious ways now or in the future.

Instead of jailbreaking, you can patch the cabal file.

Note that jailbreaking at this time, doesn't lift bounds on conditional branches. https://github.com/peti/jailbreak-cabal/issues/7 has further details.


Noogle detected

Implementation

The following is the current implementation of this function.

doJailbreak = compose.doJailbreak;