From 2a458003d93bb18e621138b3a76aad29c04e78e4 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 11 Jan 2021 08:39:19 +0100 Subject: [PATCH] searx: add NixOS test to passthu.tests --- pkgs/servers/web-apps/searx/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/web-apps/searx/default.nix b/pkgs/servers/web-apps/searx/default.nix index e83ea892529f..41654a2f0bd9 100644 --- a/pkgs/servers/web-apps/searx/default.nix +++ b/pkgs/servers/web-apps/searx/default.nix @@ -1,4 +1,4 @@ -{ lib, python3, python3Packages, fetchFromGitHub, fetchpatch }: +{ lib, nixosTests, python3, python3Packages, fetchFromGitHub, fetchpatch }: with python3Packages; @@ -40,6 +40,8 @@ toPythonModule (buildPythonApplication rec { ln -s ../${python3.sitePackages}/searx/static $out/share/ ''; + passthru.tests = { inherit (nixosTests) searx; }; + meta = with lib; { homepage = "https://github.com/asciimoo/searx"; description = "A privacy-respecting, hackable metasearch engine";