diff options
Diffstat (limited to 'overlays/pidgin.nix')
-rw-r--r-- | overlays/pidgin.nix | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/overlays/pidgin.nix b/overlays/pidgin.nix index 09103ade..d346c7a1 100644 --- a/overlays/pidgin.nix +++ b/overlays/pidgin.nix | |||
@@ -1,20 +1,15 @@ | |||
1 | final: prev: | 1 | final: prev: |
2 | prev.lib.composeManyExtensions [ | 2 | let |
3 | (final: prev: | 3 | mucHistory = prev.fetchpatch { |
4 | let | 4 | url = "https://developer.pidgin.im/raw-attachment/ticket/16524/0001-only-request-unseed-chat-history-from-jabber-group-c.patch"; |
5 | mucHistory = prev.fetchpatch { | 5 | sha256 = "083wvmq7417xz55fxxhllqwql1hgjvin2sak08844121yw1jvc44"; |
6 | url = "https://developer.pidgin.im/raw-attachment/ticket/16524/0001-only-request-unseed-chat-history-from-jabber-group-c.patch"; | 6 | }; |
7 | sha256 = "083wvmq7417xz55fxxhllqwql1hgjvin2sak08844121yw1jvc44"; | 7 | in { |
8 | }; | 8 | pidgin-with-plugins = import (/. + prev.path + "/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix") { |
9 | in { | 9 | inherit (prev) makeWrapper symlinkJoin; |
10 | pidgin = prev.pidgin.overrideAttrs (oldAttrs: { | 10 | plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts ]; |
11 | patches = (oldAttrs.patches or []) ++ [mucHistory]; | 11 | pidgin = prev.pidgin.overrideAttrs (oldAttrs: { |
12 | }); | 12 | patches = (oldAttrs.patches or []) ++ [mucHistory]; |
13 | }) | 13 | }); |
14 | (final: prev: { | 14 | }; |
15 | pidgin-with-plugins = import (/. + prev.path + "/pkgs/applications/networking/instant-messengers/pidgin/wrapper.nix") { | 15 | } |
16 | inherit (prev) makeWrapper symlinkJoin pidgin; | ||
17 | plugins = with final; [ purple-lurch pidgin-carbons pidgin-opensteamworks pidgin-xmpp-receipts ]; | ||
18 | }; | ||
19 | }) | ||
20 | ] final prev | ||