From 4284b0acd5f4ca809149a7cefe47c3107b921057 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Tue, 5 Nov 2019 12:57:52 -0500 Subject: [PATCH] Update the nix packaging with the new dependencies --- nix/PaymentServer.nix | 2 ++ nix/pkgs.nix | 2 ++ 2 files changed, 4 insertions(+) diff --git a/nix/PaymentServer.nix b/nix/PaymentServer.nix index 22159ba..b70939d 100644 --- a/nix/PaymentServer.nix +++ b/nix/PaymentServer.nix @@ -57,6 +57,7 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: "library" = { depends = [ (hsPkgs."base" or (buildDepError "base")) + (hsPkgs."bytestring" or (buildDepError "bytestring")) (hsPkgs."optparse-applicative" or (buildDepError "optparse-applicative")) (hsPkgs."aeson" or (buildDepError "aeson")) (hsPkgs."servant" or (buildDepError "servant")) @@ -67,6 +68,7 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }: (hsPkgs."warp" or (buildDepError "warp")) (hsPkgs."warp-tls" or (buildDepError "warp-tls")) (hsPkgs."stripe-core" or (buildDepError "stripe-core")) + (hsPkgs."stripe-haskell" or (buildDepError "stripe-haskell")) (hsPkgs."text" or (buildDepError "text")) (hsPkgs."containers" or (buildDepError "containers")) (hsPkgs."cryptonite" or (buildDepError "cryptonite")) diff --git a/nix/pkgs.nix b/nix/pkgs.nix index 26ae488..8997dd1 100644 --- a/nix/pkgs.nix +++ b/nix/pkgs.nix @@ -3,6 +3,8 @@ { packages = ({ "stripe-core" = (((hackage.stripe-core)."2.5.0").revisions).default; + "stripe-haskell" = (((hackage.stripe-haskell)."2.5.0").revisions).default; + "stripe-http-client" = (((hackage.stripe-http-client)."2.5.0").revisions).default; } // { PaymentServer = ./PaymentServer.nix; }) // {}; }; resolver = "lts-14.1"; -- GitLab