emacsPackages.org-xlatex: mark as broken without xwidgets

This commit is contained in:
Tyler Langlois 2024-11-04 13:08:37 -07:00
parent 877c9acdb1
commit 408bb50eb1
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; };
};