Ticket #684 (new defect)

Opened 3 years ago

Last modified 3 years ago

Flags combined in the wrong order when nested

Reported by: guest Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.8.0.2
Severity: minor Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description

One explanation of this problem is here:

 http://www.mail-archive.com/cabal-devel@haskell.org/msg05939.html

It would appear that when some flags are specified outside of an if-statement the are combined in a different order than when they are combined inside an if-statement.

I have confirmed that Brent's work around works on the darcs.cabal file.

Change History

Changed 3 years ago by duncan

As mentioned in the mailing list thread, the next step is for someone to investigate where the flags get reversed, in particular if it is before or after finalisePackageDescription.

Note: See TracTickets for help on using tickets.