emacsPackages.org-xlatex: mark as broken without xwidgets (#353758)

This commit is contained in:
Lin Jian 2024-11-06 01:46:22 +08:00 committed by GitHub
commit 64e60eca23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -1385,6 +1385,13 @@ let
org-trello = ignoreCompilationError super.org-trello; # elisp error
# Requires xwidgets compiled into emacs, so mark this package
# as broken if emacs hasn't been compiled with the flag.
org-xlatex =
if self.emacs.withXwidgets
then super.org-xlatex
else markBroken super.org-xlatex;
# Optimizer error: too much on the stack
orgnav = ignoreCompilationError super.orgnav;

View File

@ -407,6 +407,7 @@ mkDerivation (finalAttrs: {
passthru = {
inherit withNativeCompilation;
inherit withTreeSitter;
inherit withXwidgets;
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
tests = { inherit (nixosTests) emacs-daemon; };
};