From 25708ecb33c378db0dc10072ca12fffbf92a01aa Mon Sep 17 00:00:00 2001 From: Jonathan Lamothe Date: Tue, 19 Oct 2021 11:19:16 -0400 Subject: [PATCH] use tcp-streams --- gemserv.cabal | 2 ++ package.yaml | 1 + stack.yaml | 3 ++- stack.yaml.lock | 9 ++++++++- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/gemserv.cabal b/gemserv.cabal index 5833de0..01d6aeb 100644 --- a/gemserv.cabal +++ b/gemserv.cabal @@ -29,6 +29,7 @@ library ghc-options: -Wall build-depends: base >=4.7 && <5 + , tcp-streams >=1.0.1.1 && <1.1 default-language: Haskell2010 test-suite gemserv-test @@ -43,4 +44,5 @@ test-suite gemserv-test base >=4.7 && <5 , gemserv , hspec >=2.7.10 && <2.8 + , tcp-streams >=1.0.1.1 && <1.1 default-language: Haskell2010 diff --git a/package.yaml b/package.yaml index 8399cba..80c02c1 100644 --- a/package.yaml +++ b/package.yaml @@ -23,6 +23,7 @@ ghc-options: dependencies: - base >= 4.7 && < 5 +- tcp-streams >= 1.0.1.1 && < 1.1 library: source-dirs: src diff --git a/stack.yaml b/stack.yaml index 21ac023..34bb3ec 100644 --- a/stack.yaml +++ b/stack.yaml @@ -40,7 +40,8 @@ packages: # - git: https://github.com/commercialhaskell/stack.git # commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a # -# extra-deps: [] +extra-deps: +- tcp-streams-1.0.1.1@sha256:35e9ecfa515797052f8c3c01834d2daebd5e93f3152c7fc98b32652bf6f0c052,2329 # Override default flag values for local packages and extra-deps # flags: {} diff --git a/stack.yaml.lock b/stack.yaml.lock index 659abd6..402ea50 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -3,7 +3,14 @@ # For more information, please see the documentation at: # https://docs.haskellstack.org/en/stable/lock_files -packages: [] +packages: +- completed: + hackage: tcp-streams-1.0.1.1@sha256:35e9ecfa515797052f8c3c01834d2daebd5e93f3152c7fc98b32652bf6f0c052,2329 + pantry-tree: + size: 1004 + sha256: 572071fca40a0b6c4cc950d10277a6f12e83cf4846882b6ef83fcccaa2c18c45 + original: + hackage: tcp-streams-1.0.1.1@sha256:35e9ecfa515797052f8c3c01834d2daebd5e93f3152c7fc98b32652bf6f0c052,2329 snapshots: - completed: size: 586268