name:         extensions-paths
version:      5054
category:     Test
maintainer:   Oleg Grenrus
license:      BSD3
license-file: LICENSe
synopsis:     Paths_pkg module + "bad" extensions + old cabal
description:
  Only cabal-version: 2.2 or later will build Paths_pkg ok with

  * RebindableSyntax and

  * OverloadedLists or OverloadedStrings

  `fromList` or `fromString` will be out-of-scope when compiling Paths_ module.

  Other extensions (like NoImplicitPrelude) were handled before
build-type:    Simple
cabal-version: 1.12

library
  default-language: Haskell2010
  exposed-modules:  Issue Paths_extensions_paths
  default-extensions:
    RebindableSyntax
    OverloadedStrings

test-suite tests
  default-language: Haskell2010
  main-is: Test.hs
  type: exitcode-stdio-1.0
  if os(linux)
    other-modules: Paths_extensions_paths
  else
    buildable: False

  default-extensions:
    OverloadedLists
    RebindableSyntax
