summary refs log tree commit diff
path: root/gnu/local.mk
diff options
context:
space:
mode:
authorDiego Nicola Barbato <dnbarbato@posteo.de>2020-02-07 17:59:31 +0100
committerEfraim Flashner <efraim@flashner.co.il>2020-04-28 20:44:30 +0300
commit19e1f12ce420104451c16ab5412cb65cd8fe68cd (patch)
tree48ef6faaffff46a01f53d39a744eb7ac90e83720 /gnu/local.mk
parenta663b7040c3c7ed12d4f673c4ac090ad8d9b8e20 (diff)
downloadguix-19e1f12ce420104451c16ab5412cb65cd8fe68cd.tar.gz
gnu: emacs-telega: Test Emacs environment on startup.
Print a more helpful error message when someone attempts to run Telega on an
incompatible Emacs (e.g a 32-bit Emacs without wide ints).

* gnu/packages/patches/emacs-telega-test-env.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/emacs-xyz.scm (emacs-telega)[source]: Use it.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/local.mk')
-rw-r--r--gnu/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk
index 9f212434a9..9b082a6f2a 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -864,6 +864,7 @@ dist_patch_DATA =						\
   %D%/packages/patches/emacs-magit-log-format-author-margin.patch	\
   %D%/packages/patches/emacs-scheme-complete-scheme-r5rs-info.patch	\
   %D%/packages/patches/emacs-source-date-epoch.patch		\
+  %D%/packages/patches/emacs-telega-test-env.patch		\
   %D%/packages/patches/emacs-undohist-ignored.patch	\
   %D%/packages/patches/emacs-wordnut-require-adaptive-wrap.patch	\
   %D%/packages/patches/emacs-zones-called-interactively.patch	\