From 207b2bf7a1d510b1f72620055a975dc8c0189491 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 7 Apr 2020 17:04:36 +0000 Subject: python3.pkgs.hyperkitty: fix message indentation --- nixpkgs-overlays/patches/default.nix | 2 ++ nixpkgs-overlays/patches/python/default.nix | 10 ++++++++++ .../patches/python/packages/hyperkitty/default.nix | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 nixpkgs-overlays/patches/python/default.nix create mode 100644 nixpkgs-overlays/patches/python/packages/hyperkitty/default.nix 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"; + }) + ]; +}) -- cgit 1.4.1