From 82c2b9afa45d87c62336f668d9939a4fbbd82572 Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Mon, 3 May 2021 10:16:20 -0400
Subject: [PATCH] Re-run stack-to-nix with new stack.yaml

The new stanza is the automatic result.
---
 nix/PaymentServer.nix | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/nix/PaymentServer.nix b/nix/PaymentServer.nix
index 846f1c1..861ed69 100644
--- a/nix/PaymentServer.nix
+++ b/nix/PaymentServer.nix
@@ -99,5 +99,25 @@ in { system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
             ];
           };
         };
+      tests = {
+        "PaymentServer-tests" = {
+          depends = [
+            (hsPkgs."base" or (buildDepError "base"))
+            (hsPkgs."bytestring" or (buildDepError "bytestring"))
+            (hsPkgs."text" or (buildDepError "text"))
+            (hsPkgs."tasty" or (buildDepError "tasty"))
+            (hsPkgs."tasty-hunit" or (buildDepError "tasty-hunit"))
+            (hsPkgs."directory" or (buildDepError "directory"))
+            (hsPkgs."async" or (buildDepError "async"))
+            (hsPkgs."sqlite-simple" or (buildDepError "sqlite-simple"))
+            (hsPkgs."http-types" or (buildDepError "http-types"))
+            (hsPkgs."wai" or (buildDepError "wai"))
+            (hsPkgs."wai-extra" or (buildDepError "wai-extra"))
+            (hsPkgs."servant-server" or (buildDepError "servant-server"))
+            (hsPkgs."prometheus-client" or (buildDepError "prometheus-client"))
+            (hsPkgs."PaymentServer" or (buildDepError "PaymentServer"))
+            ];
+          };
+        };
       };
     } // rec { src = (pkgs.lib).mkDefault ../.; }
-- 
GitLab