1
0
Fork 0
nixos-config/packages/kassandra/common-config.dhall

74 lines
1.9 KiB
Text
Raw Normal View History

2020-06-07 20:41:53 +00:00
let Prelude = https://prelude.dhall-lang.org/v16.0.0/package.dhall
let extensions =
[ "AllowAmbiguousTypes"
2021-03-31 21:01:59 +00:00
, "BlockArguments"
2020-06-07 20:41:53 +00:00
, "ConstraintKinds"
, "DataKinds"
, "DeriveAnyClass"
, "DeriveGeneric"
2020-08-03 10:31:26 +00:00
, "DerivingStrategies"
2020-06-07 20:41:53 +00:00
, "DuplicateRecordFields"
, "EmptyCase"
, "FlexibleContexts"
, "FlexibleInstances"
, "GADTs"
2023-01-16 03:26:37 +00:00
, "GeneralizedNewtypeDeriving"
, "ImportQualifiedPost"
2020-06-07 20:41:53 +00:00
, "LambdaCase"
, "MultiParamTypeClasses"
, "NamedFieldPuns"
, "OverloadedLabels"
, "OverloadedStrings"
, "PartialTypeSignatures"
, "PatternGuards"
, "PatternSynonyms"
, "QuasiQuotes"
, "RankNTypes"
, "RecursiveDo"
, "ScopedTypeVariables"
, "StandaloneDeriving"
, "StrictData"
, "TemplateHaskell"
, "TupleSections"
, "TypeApplications"
, "TypeFamilies"
, "UndecidableInstances"
, "ViewPatterns"
]
let ghc-options =
2020-11-24 21:36:21 +00:00
[ "-Wall"
2020-06-07 20:41:53 +00:00
, "-Wcompat"
2020-11-24 21:36:21 +00:00
, "-Wno-orphans"
, "-Wincomplete-uni-patterns"
, "-Wincomplete-record-updates"
, "-Wmissing-export-lists"
, "-Widentities"
, "-Wredundant-constraints"
, "-Wmissing-home-modules"
2020-06-07 20:41:53 +00:00
]
let multiLineList =
Prelude.Text.concatMapSep "\n" Text (λ(x : Text) → " ${x}")
in ''
-- BEGIN dhall generated common configuration
2020-11-24 21:36:21 +00:00
-- generate with: dhall text --file common-config.dhall
2020-06-07 20:41:53 +00:00
license-file: LICENSE
2023-01-16 03:26:37 +00:00
author: maralorn
maintainer: mail@maralorn.de
2020-06-07 20:41:53 +00:00
build-type: Simple
extra-source-files: CHANGELOG.md
common common-config
default-extensions:
${multiLineList extensions}
ghc-options:
${multiLineList ghc-options}
mixins: base hiding (Prelude)
default-language: Haskell2010
-- END dhall generated common configuration
''