diff --git a/nix/PaymentServer.nix b/nix/PaymentServer.nix index 846f1c154ce298dbd260aace8830642e29e17484..861ed69234842b225433f4a88831db097ca551a7 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 ../.; }