fix(tazjin/emacs): Use telega from MELPA

The stable versions are too old to be compatible with nixpkgs-unstable

Change-Id: I8edb125024460f605ff640cd486779877fa0d256
This commit is contained in:
Vincent Ambo 2021-12-13 18:53:22 +03:00
parent db117176f2
commit 0fbd6f0aeb

View file

@ -13,8 +13,12 @@ pkgs.makeOverridable({ emacs ? pkgs.emacsGcc }:
let
emacsWithPackages = (pkgs.emacsPackagesGen emacs).emacsWithPackages;
# If switching telega versions, use this variable because it will
# keep the version check, binary path and so on in sync.
currentTelega = epkgs: epkgs.melpaPackages.telega;
# $PATH for binaries that need to be available to Emacs
emacsBinPath = lib.makeBinPath [ pkgs.emacsPackages.telega ];
emacsBinPath = lib.makeBinPath [ (currentTelega pkgs.emacsPackages) ];
identity = x: x;
@ -75,7 +79,6 @@ let
sly
string-edit
swiper
telega
telephone-line
terraform-mode
toml-mode
@ -91,6 +94,9 @@ let
yaml-mode
yasnippet
# Wonky stuff
(currentTelega epkgs)
# Custom depot packages (either ours, or overridden ones)
tvlPackages.dottime
tvlPackages.nix-util