From c86e8833d2a67aaf41407d600c2d4ffc8e8cc588 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Wed, 12 Apr 2023 16:40:26 -0400 Subject: [PATCH] add tahoe-great-black-swamp and tahoe-chk dependencies These give us the network protocol for downloading, the framing protocol for decoding, and the cryptographic protocol for decrypting --- flake.nix | 7 ++++++- gbs-downloader.cabal | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 3b0f855..3e41a5a 100644 --- a/flake.nix +++ b/flake.nix @@ -30,7 +30,12 @@ }; in { checks = hslib.checks {}; - devShells = hslib.devShells {}; + devShells = hslib.devShells { + extraBuildInputs = pkgs: + with pkgs; [ + zlib + ]; + }; packages = hslib.packages {}; apps.hlint = hslib.apps.hlint {}; diff --git a/gbs-downloader.cabal b/gbs-downloader.cabal index 7230760..a25ed0d 100644 --- a/gbs-downloader.cabal +++ b/gbs-downloader.cabal @@ -74,7 +74,10 @@ library -- other-extensions: -- Other library packages from which modules are imported. - build-depends: base ^>=4.14.3.0 + build-depends: + , base ^>=4.14.3.0 + , tahoe-chk + , tahoe-great-black-swamp -- Directories containing source files. hs-source-dirs: src -- GitLab