Skip to content
Snippets Groups Projects
Commit 799af996 authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

cabal: Set default-language: Haskell2010

Otherwise GHC 9.2 will compile the package as GHC2021, which will break
due to a Safe Haskell error. See GHC #19631.
parent 6d3cb9fd
No related branches found
No related tags found
No related merge requests found
cabal-version: 3.0
-- To run tests and binaries you'll need to rename the name of the library -- To run tests and binaries you'll need to rename the name of the library
-- and all the local dependencies on it. If not, cabal is unable to come up -- and all the local dependencies on it. If not, cabal is unable to come up
-- with a build plan. -- with a build plan.
...@@ -8,7 +10,7 @@ ...@@ -8,7 +10,7 @@
name: binary name: binary
version: 0.8.8.0 version: 0.8.8.0
license: BSD3 license: BSD-3-Clause
license-file: LICENSE license-file: LICENSE
author: Lennart Kolmodin <kolmodin@gmail.com> author: Lennart Kolmodin <kolmodin@gmail.com>
maintainer: Lennart Kolmodin, Don Stewart <dons00@gmail.com> maintainer: Lennart Kolmodin, Don Stewart <dons00@gmail.com>
...@@ -25,7 +27,6 @@ synopsis: Binary serialisation for Haskell values using lazy ByteStrings ...@@ -25,7 +27,6 @@ synopsis: Binary serialisation for Haskell values using lazy ByteStrings
category: Data, Parsing category: Data, Parsing
stability: provisional stability: provisional
build-type: Simple build-type: Simple
cabal-version: >= 1.8
tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC ==8.2.2, GHC == 8.4.4, GHC == 8.6.5 tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC ==8.2.2, GHC == 8.4.4, GHC == 8.6.5
extra-source-files: extra-source-files:
README.md changelog.md docs/hcar/binary-Lb.tex tools/derive/*.hs README.md changelog.md docs/hcar/binary-Lb.tex tools/derive/*.hs
...@@ -59,6 +60,7 @@ library ...@@ -59,6 +60,7 @@ library
if impl(ghc >= 8.0) if impl(ghc >= 8.0)
ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances ghc-options: -Wcompat -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances
default-language: Haskell2010
test-suite qc test-suite qc
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
...@@ -83,6 +85,7 @@ test-suite qc ...@@ -83,6 +85,7 @@ test-suite qc
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
test-suite read-write-file test-suite read-write-file
...@@ -104,6 +107,7 @@ test-suite read-write-file ...@@ -104,6 +107,7 @@ test-suite read-write-file
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
benchmark bench benchmark bench
...@@ -124,6 +128,7 @@ benchmark bench ...@@ -124,6 +128,7 @@ benchmark bench
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
benchmark get benchmark get
...@@ -145,6 +150,7 @@ benchmark get ...@@ -145,6 +150,7 @@ benchmark get
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
benchmark put benchmark put
...@@ -163,6 +169,7 @@ benchmark put ...@@ -163,6 +169,7 @@ benchmark put
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
benchmark generics-bench benchmark generics-bench
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
...@@ -192,6 +199,7 @@ benchmark generics-bench ...@@ -192,6 +199,7 @@ benchmark generics-bench
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
benchmark builder benchmark builder
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
...@@ -210,3 +218,4 @@ benchmark builder ...@@ -210,3 +218,4 @@ benchmark builder
if impl(ghc <= 7.6) if impl(ghc <= 7.6)
-- prior to ghc-7.4 generics lived in ghc-prim -- prior to ghc-7.4 generics lived in ghc-prim
build-depends: ghc-prim build-depends: ghc-prim
default-language: Haskell2010
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment