about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-13T16·54+0300
committerVincent Ambo <mail@tazj.in>2021-12-13T16·54+0300
commit5f0a64273c38ab762934f049f7d4ea45ee9bc0b2 (patch)
tree2217038aec5b15db583ce36b3cee202593adb223 /users/tazjin
parent2d330055977f0bdf6dcc41d886c122541a8672a9 (diff)
fix(tazjin/emacs): Fix tdlib version check if max-version is set r/3217
This version interpolated in by Nix in the lines above instead of
being loaded from Elisp, as that would require starting telega inside
of that build (which is a bit messy because of async elisp).

Change-Id: I775844acb6928db76516f06188b19c713f765ab8
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/emacs/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index 66f24945560f..381f246aa925 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -118,7 +118,7 @@ let
                             telega-tdlib-min-version)
                   (and telega-tdlib-max-version
                         (version< telega-tdlib-max-version
-                                  (plist-get telega--options :version))))
+                                  tdlib-version)))
            (message "Found TDLib version %s, but require %s to %s"
                    tdlib-version telega-tdlib-min-version telega-tdlib-max-version)
           (kill-emacs 1))