diff --git a/yesod-bin/Devel.hs b/yesod-bin/Devel.hs index 07899f7d..18de9347 100644 --- a/yesod-bin/Devel.hs +++ b/yesod-bin/Devel.hs @@ -281,7 +281,7 @@ devel opts passThroughArgs = do cabal <- D.findPackageDesc "." #endif -#if MIN_VERSION_Cabal(1, 20, 0) +#if MIN_VERSION_Cabal(2, 0, 0) gpd <- D.readGenericPackageDescription D.normal cabal #else gpd <- D.readPackageDescription D.normal cabal