about summary refs log tree commit diff
path: root/pkgs/top-level/emacs-packages.nix
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2021-02-24 17:03:54 +0100
committeradisbladis <adisbladis@gmail.com>2021-02-24 17:03:54 +0100
commitce30081651ec84cf205aa9e66c10e7c743164e02 (patch)
treefaa561da0cc2bb8d5ea62806e60f107255868861 /pkgs/top-level/emacs-packages.nix
parent4370433b49fea3da040cf3f2fb948897040742ab (diff)
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.
Diffstat (limited to 'pkgs/top-level/emacs-packages.nix')
-rw-r--r--pkgs/top-level/emacs-packages.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/top-level/emacs-packages.nix b/pkgs/top-level/emacs-packages.nix
index d708a97a65c17..67f4d116dfdea 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;
+
   })
 ) {})