-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.1.0.2: Support Cabal-3.12, bump CI to GHC 9.10.1
- Loading branch information
1 parent
15baa0a
commit af89487
Showing
8 changed files
with
72 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
-- Copyright : Duncan Coutts et al. | ||
-- SPDX-License-Identifier: BSD-3-Clause | ||
-- | ||
-- Maintainer : [email protected] | ||
-- Maintainer : Andreas Abel | ||
-- Stability : provisional | ||
-- Portability : portable | ||
-- | ||
|
@@ -178,8 +178,15 @@ checkCabalFileRevision checkXRevision old new = do | |
|
||
checkPackageChecks :: Check GenericPackageDescription | ||
checkPackageChecks pkg pkg' = | ||
let checks = checkPackage pkg Nothing | ||
checks' = checkPackage pkg' Nothing | ||
let checks = checkPackage pkg | ||
-- The API change of checkPackage happened somewhere between 3.10 and 3.12. | ||
#if !MIN_VERSION_Cabal(3,12,0) | ||
Nothing | ||
#endif | ||
checks' = checkPackage pkg' | ||
#if !MIN_VERSION_Cabal(3,12,0) | ||
Nothing | ||
#endif | ||
in case checks' \\ checks of | ||
[] -> return () | ||
newchecks -> fail $ unlines (map ppPackageCheck newchecks) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
resolver: nightly-2024-07-01 | ||
compiler: ghc-9.10.1 | ||
compiler-check: match-exact | ||
|
||
# Libraries shipped with GHC 9.10.1: | ||
extra-deps: | ||
- Cabal-3.12.0.0 | ||
- Cabal-syntax-3.12.0.0 | ||
- directory-1.3.8.3 | ||
- filepath-1.5.2.0 | ||
- process-1.6.19.0 | ||
- unix-2.8.5.1 | ||
# For Windows: | ||
- Win32-2.14.0.0 | ||
- time-1.12.2 | ||
|
||
flags: | ||
directory: | ||
os-string: true | ||
unix: | ||
os-string: true | ||
Win32: | ||
os-string: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
resolver: lts-22.21 | ||
resolver: lts-22.27 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
resolver: nightly-2024-05-11 | ||
resolver: nightly-2024-07-01 |