From 17df62a9373741f490aacb817c0341704dd5a830 Mon Sep 17 00:00:00 2001 From: RĂ©mi NICOLE Date: Sun, 27 Feb 2022 07:38:55 +0100 Subject: shiori: fix NixOS test (#161969) * nixos/tests/shiori: fix auth JSON * shiori: link NixOS test in passthru.tests --- pkgs/servers/web-apps/shiori/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pkgs/servers/web-apps') diff --git a/pkgs/servers/web-apps/shiori/default.nix b/pkgs/servers/web-apps/shiori/default.nix index 07fefc9343bab..cbfa28b8f46de 100644 --- a/pkgs/servers/web-apps/shiori/default.nix +++ b/pkgs/servers/web-apps/shiori/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, nixosTests }: buildGoModule rec { pname = "shiori"; @@ -15,6 +15,10 @@ buildGoModule rec { sha256 = "sha256-Py6Lq29F7RkvSui+Z2VyogU9+azHQ2KEvEq924pQmQo="; }; + passthru.tests = { + smoke-test = nixosTests.shiori; + }; + meta = with lib; { description = "Simple bookmark manager built with Go"; homepage = "https://github.com/go-shiori/shiori"; -- cgit 1.4.1