summaryrefslogtreecommitdiff
path: root/Assistant
diff options
context:
space:
mode:
authorGravatar Nicolas Pouillard <nicolas.pouillard@gmail.com>2012-10-18 15:28:20 +0200
committerGravatar Joey Hess <joey@kitenet.net>2012-10-18 12:42:57 -0400
commit40cfbecb52ba993c76022bccae8f8fcc441443f1 (patch)
tree2e899eedc79a7f7116ae4bd7bf3f42ee7e24e9e8 /Assistant
parent7cf33850a6058d93ca443abf7c07df22c62c5186 (diff)
import S3 only when enabled
Diffstat (limited to 'Assistant')
-rw-r--r--Assistant/Threads/WebApp.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Assistant/Threads/WebApp.hs b/Assistant/Threads/WebApp.hs
index 8b9db1eaa..c33dc2103 100644
--- a/Assistant/Threads/WebApp.hs
+++ b/Assistant/Threads/WebApp.hs
@@ -5,7 +5,7 @@
- Licensed under the GNU GPL version 3 or higher.
-}
-{-# LANGUAGE TypeFamilies, QuasiQuotes, MultiParamTypeClasses, TemplateHaskell, OverloadedStrings, RankNTypes #-}
+{-# LANGUAGE TypeFamilies, QuasiQuotes, MultiParamTypeClasses, TemplateHaskell, OverloadedStrings, RankNTypes, CPP #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Assistant.Threads.WebApp where
@@ -21,7 +21,9 @@ import Assistant.WebApp.Configurators.Edit
import Assistant.WebApp.Configurators.Local
import Assistant.WebApp.Configurators.Ssh
import Assistant.WebApp.Configurators.Pairing
+#ifdef WITH_S3
import Assistant.WebApp.Configurators.S3
+#endif
import Assistant.WebApp.Documentation
import Assistant.WebApp.OtherRepos
import Assistant.ThreadedMonad