diff options
author | Alyssa Ross <hi@alyssa.is> | 2021-02-09 21:10:02 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2021-02-12 12:59:52 +0000 |
commit | 7eaa07dd3f0b360be5a2fb3f14794c61e8f9599f (patch) | |
tree | afb71e408d0440f982be99773c667083505eb687 /pkgs/applications/editors | |
parent | c010b091089819db407bb55dd79312460db7c399 (diff) |
emacs: add withMotif option
Why not? ;)
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/emacs/generic.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 377079969196b..9377d3ba89c9d 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -19,6 +19,7 @@ , withGTK2 ? false, gtk2-x11 ? null , withGTK3 ? true, gtk3-x11 ? null, gsettings-desktop-schemas ? null , withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null +, withMotif ? false, motif ? null , withCsrc ? true , srcRepo ? false, autoreconfHook ? null, texinfo ? null , siteStart ? ./site-start.el @@ -27,6 +28,7 @@ , toolkit ? ( if withGTK2 then "gtk2" else if withGTK3 then "gtk3" + else if withMotif then "motif" else "lucid") }: @@ -107,6 +109,7 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp { ++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ] ++ lib.optional (withX && withGTK2) gtk2-x11 ++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ] + ++ lib.optional (withX && withMotif) motif ++ lib.optionals (withX && withXwidgets) [ webkitgtk glib-networking ] ++ lib.optionals withNS [ AppKit GSS ImageIO ] ++ lib.optionals nativeComp [ libgccjit ] |