diff --git a/nixos/tests/shiori.nix b/nixos/tests/shiori.nix index 418bee43c939..6c59c394009e 100644 --- a/nixos/tests/shiori.nix +++ b/nixos/tests/shiori.nix @@ -12,7 +12,6 @@ import ./make-test-python.nix ({ pkgs, lib, ...}: authJSON = pkgs.writeText "auth.json" (builtins.toJSON { username = "shiori"; password = "gopher"; - remember = 1; # hour owner = true; }); diff --git a/pkgs/servers/web-apps/shiori/default.nix b/pkgs/servers/web-apps/shiori/default.nix index 07fefc9343ba..cbfa28b8f46d 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";