NixOS / jailbreak-cabal

Strip version restrictions from build dependencies in Cabal files.
http://hackage.haskell.org/package/jailbreak-cabal
BSD 3-Clause "New" or "Revised" License
10 stars 11 forks source link

strip version restrictions for SubLibraries as well #18

Closed stepcut closed 5 years ago

stepcut commented 5 years ago

Since Cabal 2.x packages can have internal sub-libraries,

https://www.haskell.org/cabal/users-guide/developing-packages.html#sublibs

One example of such a package is haskell-ci. If you run jailbreak-cabal on haskell-ci.cabal it lifts version restrictions for things like the test suite, but not the version restrictions for the internal library.

This patch updates jailbreak-cabal so that it also lifts the version restrictions for dependencies of sub-libraries.