From 8c9e24f2389232eef677ab7e3b15c1a114168f4e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 19 Dec 2019 10:39:24 +0100 Subject: [PATCH] chore: remove unused haskell deps --- package.yaml | 59 +++++++++++++++++++++++----------------------------- shell.nix | 2 +- 2 files changed, 27 insertions(+), 34 deletions(-) diff --git a/package.yaml b/package.yaml index 5ecf06a91..8942c722c 100644 --- a/package.yaml +++ b/package.yaml @@ -2,40 +2,36 @@ name: uniworx version: 10.0.0 dependencies: - - base >=4.9.1.0 && <5 - - yesod >=1.6 && <1.7 - - yesod-core >=1.6 && <1.7 - - yesod-auth >=1.6 && <1.7 - - yesod-static >=1.6 && <1.7 - - yesod-form >=1.6 && <1.7 - - classy-prelude >=1.5 && <1.6 - - classy-prelude-conduit >=1.5 && <1.6 - - classy-prelude-yesod >=1.5 && <1.6 - - bytestring >=0.10 && <0.11 - - text >=0.11 && <2.0 - - persistent >=2.9 && <2.10 - - persistent-postgresql >=2.9 && <2.10 - - persistent-template >=2.5 && <2.9 - - persistent-qq >=2.9 && <2.10 + - base + - yesod + - yesod-core + - yesod-auth + - yesod-static + - yesod-form + - classy-prelude + - classy-prelude-yesod + - bytestring + - text + - persistent + - persistent-postgresql + - persistent-template + - persistent-qq - template-haskell - - shakespeare >=2.0 && <2.1 - - hjsmin >=0.1 && <0.3 - - monad-control >=0.3 && <1.1 - - wai-extra >=3.0 && <3.1 - - yaml >=0.11 && <0.12 - - http-conduit >=2.3 && <2.4 - - directory >=1.1 && <1.4 - - warp >=3.0 && <3.3 + - shakespeare + - monad-control + - wai-extra + - yaml + - http-conduit + - directory + - warp - data-default - - aeson >=1.4 && <1.5 - - conduit >=1.0 && <2.0 - - conduit-combinators - - monad-logger >=0.3 && <0.4 - - fast-logger >=2.2 && <2.5 - - wai-logger >=2.2 && <2.4 + - aeson + - conduit + - monad-logger + - fast-logger + - wai-logger - foreign-store - file-embed - - safe - unordered-containers - containers - vector @@ -67,7 +63,6 @@ dependencies: - binary - cereal - mtl - - sandi - esqueleto >=3.1.0 - mime-types - generic-deriving @@ -78,8 +73,6 @@ dependencies: - uuid - exceptions - stm - - stm-chans - - stm-conduit - lens - MonadRandom - email-validate diff --git a/shell.nix b/shell.nix index ce4fd9035..7079bd42a 100644 --- a/shell.nix +++ b/shell.nix @@ -19,7 +19,7 @@ let ''; override = oldAttrs: { - nativeBuildInputs = oldAttrs.nativeBuildInputs ++ (with pkgs; [ nodejs-12_x postgresql openldap google-chrome ]) ++ (with haskellPackages; [ stack yesod-bin hlint cabal-install ]); + nativeBuildInputs = oldAttrs.nativeBuildInputs ++ (with pkgs; [ nodejs-12_x postgresql openldap google-chrome ]) ++ (with haskellPackages; [ stack yesod-bin hlint cabal-install weeder ]); shellHook = '' export PROMPT_INFO="${oldAttrs.name}"