From 1edf79062d9b61d7125202fcd8598af02a7426dd Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Fri, 10 Feb 2017 19:06:12 +0100 Subject: machines/katara: enable searx w/ patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This adds a patch making the secret key in the config file unnecessary. It’s not yet upstream because the implementation got flak, but it works for now. --- machines/profpatsch/pkgs.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'machines/profpatsch/pkgs.nix') diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix index 2524a4df..740785f3 100644 --- a/machines/profpatsch/pkgs.nix +++ b/machines/profpatsch/pkgs.nix @@ -64,5 +64,8 @@ let xmpp-client = pkgs.callPackage (import ./xmpp-client.nix myLib.philip.home "irc/xmppOla.wtf") { inherit (pkgs) xmpp-client; }; + searx = pkgs.pythonPackages.searx.overrideDerivation (old: { + patches = old.patches or [] ++ [ ./patches/searx_secret_key.patch ]; + }); in -{ inherit taffybar sent mpv beets poezio vim fast-init xmpp-client; } +{ inherit taffybar sent mpv beets poezio vim fast-init xmpp-client searx; } -- cgit 1.4.1