Merge pull request #10525 from 9999years/field-stanza-names
[cabal.git] / cabal-testsuite / PackageTests / PathsModule / Library / my.cabal
blob8e1d789d1018c59ee48f63f9b756aceb21ff5ab7
1 Cabal-version: 3.12
2 name: PathsModule
3 version: 0.1
4 license: BSD-3-Clause
5 author: Johan Tibell
6 stability: stable
7 category: PackageTests
8 build-type: Simple
10 description:
11     Check that the generated paths module compiles.
13 Library
14     exposed-modules:
15         PackageInfo_PathsModule
16         Paths_PathsModule
17     build-depends: base
18     default-language: Haskell2010
19     default-extensions:
20         -- This is a non-exhaustive list of extensions that can cause code to
21         -- not compile when it would if the extension was disabled. This ensures
22         -- that autogen modules are compatible with default extensions.
23         NoImplicitPrelude
24         CPP
25         TemplateHaskell
26         QuasiQuotes
27         Arrows
28         OverloadedStrings
29     if impl(ghc >= 6.12)
30        default-extensions: MonoLocalBinds
31     if impl(ghc >= 7.0.1)
32        default-extensions: RebindableSyntax
33     if impl(ghc >= 7.4.1)
34        default-extensions: NoTraditionalRecordSyntax
35     if impl(ghc >= 7.8.1)
36        default-extensions: OverloadedLists