From ce30081651ec84cf205aa9e66c10e7c743164e02 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Wed, 24 Feb 2021 17:03:54 +0100 Subject: [PATCH] emacs.pkgs.telega: Prefer telega from melpa stable Telega uploads packages that are incompatible with stable tdlib releases to melpa and ones that are compatible to melpa stable. This makes the melpa packages very unreliable and we should prefer the one from melpa stable. --- pkgs/top-level/emacs-packages.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix index d708a97a65c..67f4d116dfd 100644 --- a/pkgs/top-level/emacs-packages.nix +++ b/pkgs/top-level/emacs-packages.nix @@ -77,5 +77,14 @@ in makeScope pkgs'.newScope (self: makeOverridable ({ emacsWithPackages = emacsWithPackages { inherit pkgs lib; } self; withPackages = emacsWithPackages { inherit pkgs lib; } self; + + }// { + + # Package specific priority overrides goes here + + # Telega uploads packages incompatible with stable tdlib to melpa + # Prefer the one from melpa stable + inherit (melpaStablePackages) telega; + }) ) {})