about summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2022-12-31 22:31:38 +0100
committerGitHub <noreply@github.com>2022-12-31 22:31:38 +0100
commit06542b21a03083b894c0b87486aa67b65280a028 (patch)
tree9a337e45185ccad9e7778a464a051665e8e1ad17 /pkgs/servers/http
parent6dad2ef140c5585a352c53976d122b7883f6ada3 (diff)
parente8e932bc80719114ba6f67dcf69109142a15c68c (diff)
Merge pull request #205636 from LoveIsGrief/webhook-module
nixos/webhook: add support for a webhook service option
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/webhook/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/servers/http/webhook/default.nix b/pkgs/servers/http/webhook/default.nix
index c19866cf8d87a..6daf06e117aa3 100644
--- a/pkgs/servers/http/webhook/default.nix
+++ b/pkgs/servers/http/webhook/default.nix
@@ -1,6 +1,7 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
+, nixosTests
 }:
 
 buildGoModule rec {
@@ -20,6 +21,8 @@ buildGoModule rec {
 
   doCheck = false;
 
+  passthru.tests = { inherit (nixosTests) webhook; };
+
   meta = with lib; {
     description = "Incoming webhook server that executes shell commands";
     homepage = "https://github.com/adnanh/webhook";