diff options
Diffstat (limited to 'CabalHelper')
-rw-r--r-- | CabalHelper/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CabalHelper/Main.hs b/CabalHelper/Main.hs index ae78baf..4cd6000 100644 --- a/CabalHelper/Main.hs +++ b/CabalHelper/Main.hs @@ -97,7 +97,7 @@ import Distribution.Types.ForeignLib (ForeignLib(..)) import Distribution.Types.UnqualComponentName (unUnqualComponentName) #endif -#if CH_MIN_VERSION_Cabal(2,1,0) +#if CH_MIN_VERSION_Cabal(2,0,0) import Distribution.Types.UnitId (UnitId) import Distribution.Types.MungedPackageId (MungedPackageId) #endif @@ -495,7 +495,7 @@ removeInplaceDeps v lbi pd clbi = let in (clbi', libopts) where -#if CH_MIN_VERSION_Cabal(2,1,0) +#if CH_MIN_VERSION_Cabal(2,0,0) isInplaceDep :: (UnitId, MungedPackageId) -> Bool isInplaceDep (mpid, pid) = localUnitId lbi == mpid #else |