about summary refs log tree commit diff
path: root/machines/profpatsch/pkgs.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/pkgs.nix')
-rw-r--r--machines/profpatsch/pkgs.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/machines/profpatsch/pkgs.nix b/machines/profpatsch/pkgs.nix
new file mode 100644
index 00000000..ef0a2f3f
--- /dev/null
+++ b/machines/profpatsch/pkgs.nix
@@ -0,0 +1,25 @@
+{ pkgs }:
+
+let
+  addRuntimeDeps = drv: ds: drv.overrideDerivation (old: {
+    propagatedNativeBuildInputs = old.propagatedNativeBuildInputs ++ ds;
+  });
+
+in
+with pkgs;
+{
+
+  offlineimap = addRuntimeDeps offlineimap [ pythonPackages.pygpgme ];
+
+  taffybar = taffybar.override {
+    ghcWithPackages = (haskellPackages.override {
+      overrides = _: super: {
+        taffybar = super.taffybar.overrideDerivation (old: {
+          name = old.name + "foo";
+          patches = (old.patches or []) ++ [ ./taffybar.patch ];
+        });
+      };
+    }).ghcWithPackages;
+  };
+
+}