Commit be0dde8e authored by Ryan Scott's avatar Ryan Scott Committed by Marge Bot

Use ghc-prim < 0.7, not <= 0.6.1, as upper version bounds

Using `ghc-prim <= 0.6.1` is somewhat dodgy from a PVP point of view,
as it makes it awkward to support new minor releases of `ghc-prim`.
Let's instead use `< 0.7`, which is the idiomatic way of expressing
PVP-compliant upper version bounds.
parent fc3f421b
......@@ -58,7 +58,7 @@ Executable ghc
Build-depends:
containers >= 0.5 && < 0.7,
deepseq == 1.4.*,
ghc-prim >= 0.5.0 && <= 0.6.1,
ghc-prim >= 0.5.0 && < 0.7,
ghci == @ProjectVersionMunged@,
haskeline == 0.7.*,
time >= 1.8 && < 1.10,
......
......@@ -95,7 +95,7 @@ Library
UnliftedFFITypes
Unsafe
build-depends: rts == 1.0, ghc-prim >= 0.5.1.0 && <= 0.6.1
build-depends: rts == 1.0, ghc-prim >= 0.5.1.0 && < 0.7
-- sanity-check to ensure exactly one flag is set
if !((flag(integer-gmp) && !flag(integer-simple)) || (!flag(integer-gmp) && flag(integer-simple)))
......
......@@ -36,7 +36,7 @@ library
UnboxedTuples
CPP
build-depends: ghc-prim >= 0.5.3 && <= 0.6.1,
build-depends: ghc-prim >= 0.5.3 && < 0.7,
base >= 4.9.0 && < 4.14,
bytestring >= 0.10.6.0
ghc-options: -Wall
......
......@@ -23,7 +23,7 @@ library
default-language: Haskell2010
build-depends: base >= 4.9.0 && < 5.0
, ghc-prim > 0.2 && <= 0.6.1
, ghc-prim > 0.2 && < 0.7
, rts == 1.0.*
ghc-options: -Wall
......
......@@ -58,7 +58,7 @@ library
StandaloneDeriving
UnboxedTuples
UnliftedFFITypes
build-depends: ghc-prim >= 0.5.1.0 && <= 0.6.1
build-depends: ghc-prim >= 0.5.1.0 && < 0.7
hs-source-dirs: src/
-- We need to set the unit ID to integer-wired-in
-- (without a version number) as it's magic.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment