about summary refs log tree commit diff
path: root/machines/profpatsch/pkgs.nix
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-02-10 19:06:12 +0100
committerProfpatsch <mail@profpatsch.de>2017-02-10 19:11:36 +0100
commit1edf79062d9b61d7125202fcd8598af02a7426dd (patch)
treeaee4eaee76459c249de076c52cd386d977f156a0 /machines/profpatsch/pkgs.nix
parent3ed46e46f67756b5c295a9f38a24efa705e29647 (diff)
machines/katara: enable searx w/ patch
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.
Diffstat (limited to 'machines/profpatsch/pkgs.nix')
-rw-r--r--machines/profpatsch/pkgs.nix5
1 files changed, 4 insertions, 1 deletions
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; }