(Imported from Trac #424, reported by @dcoutts on 2008-12-03)
http://hpaste.org/12669
In a .cabal file like:
name: music
version: 0.0
cabal-version: >= 1.2
build-type: Simple
build-depends: base == 4
library
exposed-modules:
Music
which uses new-style syntax but puts the build-depends in the global section, the build-depends get ignored.
It should either warn or reject this, or it should automatically propagate such global options into each buildable component.
(Imported from Trac #424, reported by @dcoutts on 2008-12-03)
http://hpaste.org/12669
In a .cabal file like:
name: music version: 0.0 cabal-version: >= 1.2 build-type: Simple build-depends: base == 4 library exposed-modules: Musicwhich uses new-style syntax but puts the build-depends in the global section, the build-depends get ignored.It should either warn or reject this, or it should automatically propagate such global options into each buildable component.