Add migration guide for #9718 (#10578)
[cabal.git] / cabal-testsuite / PackageTests / Backpack / Includes2 / I.cabal
blobefaa83b48377fc2e7002c7ee19c063235761f785
1 name:                I
2 version:             0.1.0.0
3 license:             BSD3
4 author:              Edward Z. Yang
5 maintainer:          ezyang@cs.stanford.edu
6 build-type:          Simple
7 cabal-version:       2.0
9 library mylib
10   build-depends:       base
11   signatures: Database
12   exposed-modules:     Mine
13   hs-source-dirs:      mylib
14   default-language:    Haskell2010
16 library mysql
17   build-depends:       base
18   exposed-modules:     Database.MySQL
19   hs-source-dirs:      mysql
20   default-language:    Haskell2010
22 library postgresql
23   build-depends:       base
24   exposed-modules:     Database.PostgreSQL
25   hs-source-dirs:      postgresql
26   default-language:    Haskell2010
28 library
29   build-depends:       base, mysql, postgresql, mylib
30   mixins:
31     mylib (Mine as Mine.MySQL) requires (Database as Database.MySQL),
32     mylib (Mine as Mine.PostgreSQL) requires (Database as Database.PostgreSQL)
33   exposed-modules:     App
34   hs-source-dirs:      src
35   default-language:    Haskell2010
37 executable exe
38   build-depends:       base, I
39   main-is:             Main.hs
40   hs-source-dirs:      exe
41   default-language:    Haskell2010
43 test-suite includes2-test
44   type: exitcode-stdio-1.0
45   build-depends: base, I
46   main-is: test.hs
47   hs-source-dirs: test
48   default-language:    Haskell2010