Commit d2c3b779 authored by Tony Zorman's avatar Tony Zorman
Browse files

emacs: Add withSmallJaDic flag

Quoting from the Emacs 29 release notes:

> Building Emacs includes generation of a Japanese dictionary, which is
> used by Japanese input methods.  Previously, the build included a step
> of reducing the size of this dictionary's vocabulary.  This vocabulary
> reduction is now optional, by default off.  If you need the Emacs
> build to include the vocabulary reduction, configure Emacs with the
> option '--with-small-ja-dic'.
parent 70a04815
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -89,6 +89,7 @@
, withX ? !(stdenv.isDarwin || noGui || withPgtk)
, withXinput2 ? withX && lib.versionAtLeast version "29"
, withXwidgets ? !stdenv.isDarwin && !noGui && (withGTK3 || withPgtk)
, withSmallJaDic ? false

# Options
, siteStart ? ./site-start.el
@@ -337,6 +338,7 @@ mkDerivation (finalAttrs: {
  ++ lib.optional withTreeSitter "--with-tree-sitter"
  ++ lib.optional withXinput2 "--with-xinput2"
  ++ lib.optional withXwidgets "--with-xwidgets"
  ++ lib.optional withSmallJaDic "--with-small-ja-dic"
  ;

  env = lib.optionalAttrs withNativeCompilation {