patch applied (cabal): '.' should not always be in hs-source dirs

Duncan Coutts duncan.coutts at
Thu Jun 19 13:56:37 EDT 2008

Fri Jun 13 16:03:52 PDT 2008  Duncan Coutts <duncan at>
  * '.' should not always be in hs-source dirs
  We changed the parsing of list fields in the .cabal file so that it
  adds to the current value rather than replacing it. This allows you
  to put multiple entries for a list field and they all get
  concatenated. However that means that the '.' in the hsSourceDirs of
  emptyBuildInfo is always added to and not replaced like we did
  previously. That's not what we want in this case. We want to use '.'
  for hsSourceDirs *only* if hsSourceDirs is otherwise null. As it
  happens, due to the way the configurations code works, we're already
  filling in the default if it'd otherwise be null so we do not need
  '.' in the emptyBuildInfo at all.

    M ./Distribution/PackageDescription.hs -1 +1

View patch online:

More information about the cabal-devel mailing list