summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--services/tazblog/tazblog.cabal19
-rw-r--r--services/tazblog/tazblog.nix26
2 files changed, 17 insertions, 28 deletions
diff --git a/services/tazblog/tazblog.cabal b/services/tazblog/tazblog.cabal
index 8be0c2e81df7..58aeb7049ed1 100644
--- a/services/tazblog/tazblog.cabal
+++ b/services/tazblog/tazblog.cabal
@@ -19,33 +19,15 @@ library
                  happstack-server,
                  text,
                  blaze-html,
-                 blaze-markup,
-                 cache,
                  dns,
-                 crypto-api,
-                 cryptohash,
                  old-locale,
                  time,
                  base64-bytestring,
-                 mtl,
-                 transformers,
                  network,
                  network-uri,
                  rss,
-                 hamlet,
                  shakespeare,
                  markdown
-  default-extensions:
-             DeriveDataTypeable
-             FlexibleContexts
-             GeneralizedNewtypeDeriving
-             MultiParamTypeClasses
-             OverloadedStrings
-             RecordWildCards
-             ScopedTypeVariables
-             TemplateHaskell
-             TypeFamilies
-             QuasiQuotes
 
 executable tazblog
   hs-source-dirs: blog
@@ -54,5 +36,4 @@ executable tazblog
   ghc-options: -threaded -rtsopts -with-rtsopts=-N
   build-depends: base,
                  tazblog,
-                 options,
                  network
diff --git a/services/tazblog/tazblog.nix b/services/tazblog/tazblog.nix
index a29450ddc0ce..2ac1a51f2ab5 100644
--- a/services/tazblog/tazblog.nix
+++ b/services/tazblog/tazblog.nix
@@ -1,9 +1,6 @@
 { mkDerivation, aeson, acid-state, base, base64-bytestring, blaze-html
-, blaze-markup, bytestring, cache, crypto-api, cryptohash, dns, hamlet
-, happstack-server, markdown, mtl, network, network-uri
-, old-locale, options, rss, shakespeare, stdenv, text
-, time, transformers
-}:
+, bytestring, dns, happstack-server, markdown, network, network-uri, old-locale
+, options, rss, shakespeare, stdenv, text, time }:
 mkDerivation {
   pname = "tazblog";
   version = "6.0.0";
@@ -11,10 +8,21 @@ mkDerivation {
   isLibrary = true;
   isExecutable = true;
   libraryHaskellDepends = [
-    aeson base base64-bytestring blaze-html blaze-markup bytestring
-    cache crypto-api cryptohash dns hamlet happstack-server markdown mtl
-    network network-uri old-locale rss shakespeare text time
-    transformers
+    aeson
+    base
+    base64-bytestring
+    blaze-html
+    bytestring
+    dns
+    happstack-server
+    markdown
+    network
+    network-uri
+    old-locale
+    rss
+    shakespeare
+    text
+    time
   ];
   executableHaskellDepends = [ base network options ];
   description = "Tazjin's Blog";