File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -758,11 +758,7 @@ buildOtherSources build =
758758
759759-- | Get the target's JS sources.
760760targetJsSources :: BuildInfo -> [FilePath ]
761- #if MIN_VERSION_Cabal(1, 22, 0)
762761targetJsSources = jsSources
763- #else
764- targetJsSources = const []
765- #endif
766762
767763-- | Get all dependencies of a package, including library,
768764-- executables, tests, benchmarks.
@@ -868,11 +864,7 @@ resolveConditions rc addDeps (CondNode lib deps cs) = basic <> children
868864 case (flavor, rcCompilerVersion rc) of
869865 (GHC , GhcVersion vghc) -> vghc `withinRange` range
870866 (GHC , GhcjsVersion _ vghc) -> vghc `withinRange` range
871- #if MIN_VERSION_Cabal(1, 22, 0)
872867 (GHCJS , GhcjsVersion vghcjs _) ->
873- #else
874- (OtherCompiler " ghcjs" , GhcjsVersion vghcjs _) ->
875- #endif
876868 vghcjs `withinRange` range
877869 _ -> False
878870
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ extra-deps:
2929# For deepseq-1.4
3030- deepseq-1.4.1.2
3131- bytestring-0.10.6.0
32- - Cabal-1.18.1.6
32+ - Cabal-1.24.2.0
3333- containers-0.5.6.3
3434- hpc-0.6.0.2
3535- process-1.2.1.0
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ library
176176 System.Process.PagerEditor
177177 System.Process.Read
178178 System.Process.Run
179- build-depends : Cabal >= 1.18.1.5 && < 1.25
179+ build-depends : Cabal >= 1.24 && < 1.25
180180 , aeson (>= 1.0 && < 1.1 )
181181 , ansi-terminal >= 0.6.2.3
182182 , async >= 2.0.2 && < 2.2
Original file line number Diff line number Diff line change 1212 packages :
1313 - zlib
1414extra-deps :
15+ - Cabal-1.24.2.0
1516- th-utilities-0.2.0.1
1617- store-0.3
1718- store-core-0.3
You can’t perform that action at this time.
0 commit comments