Skip to content

Commit 3d0aa5b

Browse files
committed
Changes needed to compile with GHC 7.0.4.
Unfortunately they are not compatible with 7.4 and later.
1 parent 85d3a72 commit 3d0aa5b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

LambdaHack.cabal

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: LambdaHack
33
version: 0.2.0
44
license: BSD3
55
license-file: LICENSE
6-
tested-with: GHC == 7.2, GHC == 7.4
6+
tested-with: GHC == 7.0
77
data-files: LICENSE, CREDITS, PLAYING.md, README.md,
88
config.default, config.bot, scores
99
author: Andres Loeh, Mikolaj Konarski
@@ -98,16 +98,16 @@ library
9898
other-modules: Paths_LambdaHack
9999
build-depends: ConfigFile >= 1.1.1 && < 2,
100100
array >= 0.3.0.3 && < 1, base >= 4 && < 5,
101-
binary >= 0.5.0.2 && < 1, bytestring >= 0.9.2 && < 1,
101+
binary >= 0.5.0.2 && < 1, bytestring >= 0.9.1 && < 1,
102102
containers >= 0.4.1 && < 1, directory >= 1.1.0.1 && < 2,
103103
filepath >= 1.2.0.1 && < 2, mtl >= 2.0.1 && < 3,
104-
old-time >= 1.0.0.7 && < 2, random >= 1.0.1 && < 2,
104+
old-time >= 1.0.0.6 && < 2, random >= 1.0.1 && < 2,
105105
zlib >= 0.5.3.1 && < 1
106106
default-language: Haskell2010
107107
default-extensions: MonoLocalBinds,
108108
BangPatterns, RecordWildCards, NamedFieldPuns
109109
other-extensions: MultiParamTypeClasses, RankNTypes, ScopedTypeVariables
110-
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
110+
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
111111
ghc-options: -fno-warn-auto-orphans -fno-warn-implicit-prelude -fno-warn-unused-do-bind
112112
ghc-options: -fno-ignore-asserts -funbox-strict-fields
113113

@@ -141,18 +141,18 @@ executable LambdaHack
141141
other-modules: Paths_LambdaHack
142142
build-depends: LambdaHack == 0.2.0, ConfigFile >= 1.1.1 && < 2,
143143
array >= 0.3.0.3 && < 1, base >= 4 && < 5,
144-
binary >= 0.5.0.2 && < 1, bytestring >= 0.9.2 && < 1,
144+
binary >= 0.5.0.2 && < 1, bytestring >= 0.9.1 && < 1,
145145
containers >= 0.4.1 && < 1, directory >= 1.1.0.1 && < 2,
146146
filepath >= 1.2.0.1 && < 2, mtl >= 2.0.1 && < 3,
147-
old-time >= 1.0.0.7 && < 2, random >= 1.0.1 && < 2,
148-
template-haskell >= 2.6 && < 3,
147+
old-time >= 1.0.0.6 && < 2, random >= 1.0.1 && < 2,
148+
template-haskell >= 2.5 && < 3,
149149
zlib >= 0.5.3.1 && < 1
150150
default-language: Haskell2010
151151
default-extensions: MonoLocalBinds,
152152
BangPatterns, RecordWildCards, NamedFieldPuns
153153
other-extensions: CPP, QuasiQuotes,
154154
MultiParamTypeClasses, RankNTypes, ScopedTypeVariables
155-
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
155+
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
156156
ghc-options: -fno-warn-auto-orphans -fno-warn-implicit-prelude -fno-warn-unused-do-bind
157157
ghc-options: -fno-ignore-asserts -funbox-strict-fields
158158
ghc-options: -threaded
@@ -165,6 +165,6 @@ executable DumbBot
165165
default-extensions: MonoLocalBinds,
166166
BangPatterns, RecordWildCards, NamedFieldPuns
167167
other-extensions: MultiParamTypeClasses, RankNTypes, ScopedTypeVariables
168-
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
168+
ghc-options: -Wall -fwarn-orphans -fwarn-tabs -fwarn-incomplete-record-updates -fwarn-monomorphism-restriction -fwarn-unrecognised-pragmas
169169
ghc-options: -fno-warn-auto-orphans -fno-warn-implicit-prelude -fno-warn-unused-do-bind
170170
ghc-options: -fno-ignore-asserts -funbox-strict-fields

0 commit comments

Comments
 (0)