From 593e96da6077b343b9716d490a17c7c3603cb2fc Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 25 Aug 2019 23:21:26 +0100 Subject: chore(tazblog): Clean up unused dependencies --- services/tazblog/tazblog.cabal | 19 ------------------- services/tazblog/tazblog.nix | 26 +++++++++++++++++--------- 2 files changed, 17 insertions(+), 28 deletions(-) (limited to 'services') 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"; -- cgit 1.4.1