mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
emacsPackages.org-xlatex: mark as broken without xwidgets (#353758)
This commit is contained in:
commit
64e60eca23
@ -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;
|
||||
|
||||
|
@ -407,6 +407,7 @@ mkDerivation (finalAttrs: {
|
||||
passthru = {
|
||||
inherit withNativeCompilation;
|
||||
inherit withTreeSitter;
|
||||
inherit withXwidgets;
|
||||
pkgs = recurseIntoAttrs (emacsPackagesFor finalAttrs.finalPackage);
|
||||
tests = { inherit (nixosTests) emacs-daemon; };
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user