ANN: Cabal 1.22 and cabal-install 1.22
johan.tibell at gmail.com
Mon Jan 5 15:52:07 UTC 2015
Can you please file a bug at https://github.com/haskell/cabal/issues so we
can track this?
On Mon, Jan 5, 2015 at 10:27 AM, Daniel Trstenjak <
daniel.trstenjak at gmail.com> wrote:
> sorry that I couldn't test Cabal 1.22 earlier, but there seems to be a
> change regarding the handling and pretty printing of the
> 'GenericPackageDescription' in Cabal 1.22.
> Now parsing a cabal file with 'parsePackageDescription' and pretty
> printing it with 'showGenericPackageDescription' will result into
> a cabal file where every section contains the 'build-depends' field twice.
> Previously the dependencies have been resolved into
> and the field 'BuildInfo.targetBuildDepends' has been emptied.
> Now it seems that both - 'CondNode.condTreeConstraints' and
> 'BuildInfo.targetBuildDepends' -
> contain the dependencies and therefore they're output twice.
> The resolving into 'CondNode.condTreeConstraints' always seemed a bit
> like a hack to me, because there's already the distiction between
> and 'PackageDescription', and 'PackageDescription' already represeting the
> resolved state,
> so I'm wondering if it wouldn't be best to let
> 'CondNode.condTreeConstraints' just go,
> or as a first step, not using it anymore.
> cabal-devel mailing list
> cabal-devel at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cabal-devel