diff --git a/hledger-lib/hledger-lib.cabal b/hledger-lib/hledger-lib.cabal index a836a3f67..c901aa241 100644 --- a/hledger-lib/hledger-lib.cabal +++ b/hledger-lib/hledger-lib.cabal @@ -87,9 +87,6 @@ library , uglymemo , utf8-string >=0.3.5 && <1.1 , HUnit - if impl(ghc <7.6) - build-depends: - ghc-prim if flag(oldtime) build-depends: time <1.5 @@ -186,9 +183,6 @@ test-suite doctests , HUnit , doctest >=0.8 , Glob >=0.7 - if impl(ghc <7.6) - build-depends: - ghc-prim if flag(oldtime) build-depends: time <1.5 @@ -284,9 +278,6 @@ test-suite hunittests , hledger-lib , test-framework , test-framework-hunit - if impl(ghc <7.6) - build-depends: - ghc-prim if flag(oldtime) build-depends: time <1.5 diff --git a/hledger-lib/package.yaml b/hledger-lib/package.yaml index 32a0ca25c..fbcec1b9e 100644 --- a/hledger-lib/package.yaml +++ b/hledger-lib/package.yaml @@ -74,9 +74,6 @@ dependencies: #- system-filepath #- trifecta >= 0.91 when: -- condition: impl(ghc <7.6) - dependencies: - - ghc-prim - condition: flag(oldtime) then: dependencies: diff --git a/hledger-web/hledger-web.cabal b/hledger-web/hledger-web.cabal index 05858c1ba..69bf42b50 100644 --- a/hledger-web/hledger-web.cabal +++ b/hledger-web/hledger-web.cabal @@ -173,9 +173,6 @@ library else build-depends: time >=1.5 - if impl(ghc <7.6) - build-depends: - ghc-prim exposed-modules: Application Foundation @@ -251,9 +248,6 @@ executable hledger-web else build-depends: time >=1.5 - if impl(ghc <7.6) - build-depends: - ghc-prim if flag(library-only) buildable: False if flag(threaded) @@ -317,9 +311,6 @@ test-suite test else build-depends: time >=1.5 - if impl(ghc <7.6) - build-depends: - ghc-prim other-modules: HomeTest TestImport diff --git a/hledger-web/package.yaml b/hledger-web/package.yaml index 9488fa0ea..3da9d1db0 100644 --- a/hledger-web/package.yaml +++ b/hledger-web/package.yaml @@ -115,9 +115,6 @@ when: else: dependencies: - time >=1.5 -- condition: impl(ghc <7.6) - dependencies: - - ghc-prim ghc-options: - -Wall diff --git a/hledger/hledger.cabal b/hledger/hledger.cabal index 8d177d916..8de226717 100644 --- a/hledger/hledger.cabal +++ b/hledger/hledger.cabal @@ -114,9 +114,6 @@ library , text >=0.11 , utf8-string >=0.3.5 && <1.1 , wizards ==1.0.* - if impl(ghc <7.6) - build-depends: - ghc-prim if impl(ghc >=7.10) build-depends: shakespeare >=2.0.2.2 && <2.1 @@ -199,9 +196,6 @@ executable hledger , text >=0.11 , utf8-string >=0.3.5 && <1.1 , wizards ==1.0.* - if impl(ghc <7.6) - build-depends: - ghc-prim if impl(ghc >=7.10) build-depends: shakespeare >=2.0.2.2 && <2.1 @@ -264,9 +258,6 @@ test-suite test , wizards ==1.0.* , test-framework , test-framework-hunit - if impl(ghc <7.6) - build-depends: - ghc-prim if impl(ghc >=7.10) build-depends: shakespeare >=2.0.2.2 && <2.1 @@ -309,9 +300,6 @@ benchmark bench , criterion , html , timeit - if impl(ghc <7.6) - build-depends: - ghc-prim if impl(ghc >=7.10) build-depends: shakespeare >=2.0.2.2 && <2.1 diff --git a/hledger/package.yaml b/hledger/package.yaml index c1a4940a6..2ba13e4ce 100644 --- a/hledger/package.yaml +++ b/hledger/package.yaml @@ -91,9 +91,6 @@ dependencies: - hledger-lib >= 1.3.99 && < 1.4 when: -- condition: impl(ghc <7.6) - dependencies: - - ghc-prim - condition: impl(ghc >=7.10) then: dependencies: