about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-04-07 17:04:36 +0000
committerAlyssa Ross <hi@alyssa.is>2020-04-07 17:06:41 +0000
commit207b2bf7a1d510b1f72620055a975dc8c0189491 (patch)
treedc65c2a31d8d8fe114210a25790dec5d235c8603
parentb3d1e98d50abb5a8be94a65aff993ca14eb23613 (diff)
downloadnixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar.gz
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar.bz2
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar.lz
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar.xz
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.tar.zst
nixlib-207b2bf7a1d510b1f72620055a975dc8c0189491.zip
python3.pkgs.hyperkitty: fix message indentation
-rw-r--r--nixpkgs-overlays/patches/default.nix2
-rw-r--r--nixpkgs-overlays/patches/python/default.nix10
-rw-r--r--nixpkgs-overlays/patches/python/packages/hyperkitty/default.nix10
3 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs-overlays/patches/default.nix b/nixpkgs-overlays/patches/default.nix
index fa450e170300..4a41f2b1726c 100644
--- a/nixpkgs-overlays/patches/default.nix
+++ b/nixpkgs-overlays/patches/default.nix
@@ -5,5 +5,7 @@ self: super: {
     inherit (super) firefoxPackages;
   };
 
+  python3 = self.callPackage ./python { python = super.python3; };
+
   tmux = self.callPackage ./tmux { inherit (super) tmux; };
 }
diff --git a/nixpkgs-overlays/patches/python/default.nix b/nixpkgs-overlays/patches/python/default.nix
new file mode 100644
index 000000000000..9eeeb59f033c
--- /dev/null
+++ b/nixpkgs-overlays/patches/python/default.nix
@@ -0,0 +1,10 @@
+{ python }:
+
+python.override {
+  packageOverrides = self: super: {
+
+    hyperkitty = self.callPackage ./packages/hyperkitty {
+      inherit (super) hyperkitty;
+    };
+  };
+}
diff --git a/nixpkgs-overlays/patches/python/packages/hyperkitty/default.nix b/nixpkgs-overlays/patches/python/packages/hyperkitty/default.nix
new file mode 100644
index 000000000000..f191e8c2666a
--- /dev/null
+++ b/nixpkgs-overlays/patches/python/packages/hyperkitty/default.nix
@@ -0,0 +1,10 @@
+{ hyperkitty, fetchpatch }:
+
+hyperkitty.overridePythonAttrs ({ patches ? [], ... }: {
+  patches = patches ++ [
+    (fetchpatch {
+      url = "https://gitlab.com/qyliss/hyperkitty/commit/88c94ad207f0a38c45988ad1c22289106eb41871.patch";
+      sha256 = "034c3gcnmbhflwnan8cpyqa3hf0hdysx7m041las9q324yivw21b";
+    })
+  ];
+})