about summary refs log tree commit diff
path: root/machines/profpatsch
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2017-03-03 22:31:23 +0100
committerProfpatsch <mail@profpatsch.de>2017-03-03 22:31:23 +0100
commit231d85292194dcfda38cd49a379ad5620707e111 (patch)
tree2bbeb41ae79f2c1e1e4c6e8a739d4367b61fcb02 /machines/profpatsch
parent27153eacb5fc0a5e2956085fc1342da562de01df (diff)
machines/katara: correct searx override
Diffstat (limited to 'machines/profpatsch')
-rw-r--r--machines/profpatsch/pkgs.nix22
1 files changed, 15 insertions, 7 deletions
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
index 0c1ac109..debed121 100644
--- a/machines/profpatsch/pkgs.nix
+++ b/machines/profpatsch/pkgs.nix
@@ -64,15 +64,23 @@ 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
-      ./patches/searx-rm-soundcloud.patch
-    ];
-  });
+  pythonPackagesMod = pkgs.pythonPackages.override {
+    overrides = self: super: {
+      searx = super.searx.overrideAttrs (old: {
+        propagatedBuildInputs = old.propagatedBuildInputs ++ [ pythonPackages.pyxdg ];
+        patches = old.patches or [] ++ [
+          ./patches/searx-secret-key.patch
+          ./patches/searx-rm-soundcloud.patch
+        ];
+      });
+    };
+  };
+
 
   # A ghci with some sane default packages in scope, & hoogle
   saneGhci = haskellPackages.ghcWithHoogle (h: with h; [ protolude pretty-show ]);
 
 in
-{ inherit taffybar sent mpv beets poezio vim fast-init xmpp-client searx saneGhci; }
+{ inherit taffybar sent mpv beets poezio vim
+  fast-init xmpp-client saneGhci;
+  inherit (pythonPackagesMod) searx; }