diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2015-08-31 08:18:38 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2015-08-31 08:18:38 +0200 |
commit | 132aeadd04d2946d95d48034aad81117a8737374 (patch) | |
tree | 2fe0683e6775058b750ab78a2309debc1b4618dd /CabalHelper | |
parent | 0a0090bbb8d1fa8ffe42cc7a09fa8f2fd0350109 (diff) |
Fix Cabal HEAD
Diffstat (limited to 'CabalHelper')
-rw-r--r-- | CabalHelper/Licenses.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CabalHelper/Licenses.hs b/CabalHelper/Licenses.hs index 7c261bf..e237e58 100644 --- a/CabalHelper/Licenses.hs +++ b/CabalHelper/Licenses.hs @@ -26,7 +26,9 @@ import System.IO (hPutStrLn, stderr) -------------------------------------------------------------------------------- -#if CABAL_MAJOR == 1 && CABAL_MINOR >= 22 +#if CABAL_MAJOR == 1 && CABAL_MINOR > 22 +type PackageIndex a = Cabal.PackageIndex (InstalledPackageInfo.InstalledPackageInfo) +#elif CABAL_MAJOR == 1 && CABAL_MINOR >= 22 type PackageIndex a = Cabal.PackageIndex (InstalledPackageInfo.InstalledPackageInfo_ a) #else type PackageIndex a = Cabal.PackageIndex |