From ddeb89c0259b4337fa4ea3859c314b80b1531f7f Mon Sep 17 00:00:00 2001 From: Mats Rauhala Date: Thu, 10 Dec 2020 19:50:26 +0200 Subject: [PATCH] Deps --- addressbook.cabal | 5 +++++ default.nix | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/addressbook.cabal b/addressbook.cabal index b0aa971..ccc9627 100644 --- a/addressbook.cabal +++ b/addressbook.cabal @@ -26,6 +26,7 @@ library , pipes , pipes-bytestring , text + , bytestring-trie hs-source-dirs: src default-language: Haskell2010 @@ -43,3 +44,7 @@ test-suite addressbook-test hs-source-dirs: test main-is: MyLibTest.hs build-depends: base ^>=4.13.0.0 + , addressbook + , tasty + , tasty-hedgehog + , hedgehog diff --git a/default.nix b/default.nix index a7065f0..3cedc8e 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,5 @@ -{ mkDerivation, attoparsec, base, mtl, pipes, pipes-bytestring -, stdenv, text +{ mkDerivation, attoparsec, base, bytestring-trie, hedgehog, mtl +, pipes, pipes-bytestring, stdenv, tasty, tasty-hedgehog, text }: mkDerivation { pname = "addressbook"; @@ -8,9 +8,9 @@ mkDerivation { isLibrary = true; isExecutable = true; libraryHaskellDepends = [ - attoparsec base mtl pipes pipes-bytestring text + attoparsec base bytestring-trie mtl pipes pipes-bytestring text ]; executableHaskellDepends = [ base ]; - testHaskellDepends = [ base ]; + testHaskellDepends = [ base hedgehog tasty tasty-hedgehog ]; license = stdenv.lib.licenses.bsd3; }