Fix build with Cabal-2.2.0
This commit is contained in:
parent
10fc3155da
commit
1f4d35bcb1
@ -71,7 +71,11 @@ import Distribution.PackageDescription
|
||||
GenericPackageDescription(..)
|
||||
, PackageDescription(..)
|
||||
)
|
||||
#if MIN_VERSION_Cabal(2,2,0)
|
||||
import Distribution.PackageDescription.Parsec
|
||||
#else
|
||||
import Distribution.PackageDescription.Parse
|
||||
#endif
|
||||
(
|
||||
#if MIN_VERSION_Cabal(2,0,0)
|
||||
readGenericPackageDescription,
|
||||
|
Loading…
Reference in New Issue
Block a user