Skip to content

Commit

Permalink
Add 'other-extensions' field to cabal files
Browse files Browse the repository at this point in the history
  • Loading branch information
christiaanb committed Sep 7, 2015
1 parent a103dc8 commit c9a6db8
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clash-ghc/clash-ghc.cabal
Expand Up @@ -68,6 +68,14 @@ Executable clash
PatternGuards
NondecreasingIndentation

other-extensions: FlexibleContexts
OverloadedStrings
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TupleSections
ViewPatterns

Build-Depends: array >= 0.4,
base >= 4.3.1.0 && < 5,
bifunctors >= 4.1.1,
Expand Down
16 changes: 16 additions & 0 deletions clash-lib/clash-lib.cabal
Expand Up @@ -69,6 +69,22 @@ Library
ghc-options: -Wall
CPP-Options: -DCABAL

other-extensions: CPP
DeriveAnyClass
DeriveGeneric
FlexibleContexts
FlexibleInstances
GeneralizedNewtypeDeriving
LambdaCase
MultiParamTypeClasses
OverloadedStrings
Rank2Types
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TupleSections
ViewPatterns

Build-depends: aeson >= 0.6.2.0,
attoparsec >= 0.10.4.0,
base >= 4.8 && < 5,
Expand Down
7 changes: 7 additions & 0 deletions clash-systemverilog/clash-systemverilog.cabal
Expand Up @@ -85,6 +85,13 @@ Library
ghc-options: -Wall
CPP-Options: -DCABAL

other-extensions: CPP
OverloadedStrings
RecursiveDo
TemplateHaskell
TupleSections
ViewPatterns

Build-depends: base >= 4.6.0.1 && < 5,
clash-lib >= 0.5.8,
clash-prelude >= 0.9,
Expand Down
7 changes: 7 additions & 0 deletions clash-verilog/clash-verilog.cabal
Expand Up @@ -85,6 +85,13 @@ Library
ghc-options: -Wall
CPP-Options: -DCABAL

other-extensions: CPP
OverloadedStrings
RecursiveDo
TemplateHaskell
TupleSections
ViewPatterns

Build-depends: base >= 4.6.0.1 && < 5,
clash-lib >= 0.5.8,
clash-prelude >= 0.9,
Expand Down
7 changes: 7 additions & 0 deletions clash-vhdl/clash-vhdl.cabal
Expand Up @@ -85,6 +85,13 @@ Library
ghc-options: -Wall
CPP-Options: -DCABAL

other-extensions: CPP
OverloadedStrings
RecursiveDo
TemplateHaskell
TupleSections
ViewPatterns

Build-depends: base >= 4.6.0.1 && < 5,
clash-lib >= 0.5.8,
clash-prelude >= 0.9,
Expand Down

0 comments on commit c9a6db8

Please sign in to comment.