git.iko.soy/typeable/nixpkgs
on master help sign in
searx: add NixOS test to passthu.tests
commit2a458003d93bb18e621138b3a76aad29c04e78e4 authorrnhmjoj <rnhmjoj@inventati.org> dateMon 11 Jan 2021, 08:39 (6 years ago) parent88f7172
1 file changed+3−1
pkgs/servers/web-apps/searx/default.nix+3−1
pkgs/servers/web-apps/searx/default.nix+3−1
@@ -1,4 +1,4 @@
1−{ lib, python3, python3Packages, fetchFromGitHub, fetchpatch }:
1+{ lib, nixosTests, python3, python3Packages, fetchFromGitHub, fetchpatch }:
22
33with python3Packages;
44
@@ -40,6 +40,8 @@ toPythonModule (buildPythonApplication rec {
4040 ln -s ../${python3.sitePackages}/searx/static $out/share/
4141 '';
4242
43+ passthru.tests = { inherit (nixosTests) searx; };
44+
4345 meta = with lib; {
4446 homepage = "https://github.com/asciimoo/searx";
4547 description = "A privacy-respecting, hackable metasearch engine";