aboutsummaryrefslogtreecommitdiff
path: root/git-annex.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'git-annex.cabal')
-rw-r--r--git-annex.cabal17
1 files changed, 2 insertions, 15 deletions
diff --git a/git-annex.cabal b/git-annex.cabal
index 943b1d380..f17f4c6c9 100644
--- a/git-annex.cabal
+++ b/git-annex.cabal
@@ -40,12 +40,6 @@ Flag Assistant
Flag Webapp
Description: Enable git-annex webapp
-Flag CurrentYesod
- Description: Using a current version of Yesod
-
-Flag OldYesod
- Description: Using an old version of Yesod
-
Executable git-annex
Main-Is: git-annex.hs
Build-Depends: MissingH, hslogger, directory, filepath,
@@ -79,18 +73,11 @@ Executable git-annex
Build-Depends: dbus
CPP-Options: -DWITH_DBUS
- if flag(CurrentYesod)
- Build-Depends: yesod-default (>= 1.1.0)
-
- if flag(OldYesod)
- Build-Depends: yesod-default (<= 1.0.1.1)
- CPP-Options: -DWITH_OLD_YESOD
-
- if flag(Webapp) && (flag(CurrentYesod) || flag(OldYesod))
+ if flag(Webapp)
Build-Depends: yesod, yesod-static, case-insensitive,
http-types, transformers, wai, wai-logger, warp, blaze-builder,
blaze-html, crypto-api, hamlet, clientsession,
- template-haskell
+ template-haskell, yesod-default (>= 1.1.0)
CPP-Options: -DWITH_WEBAPP
if os(darwin)