Deps
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user