emacs.pkgs.emacs-application-framework: use xdotool when available. (#438289)

Lin Jian 23e0867c 10bee29e

Changed files
+9 -6
pkgs
applications
editors
emacs
elisp-packages
manual-packages
emacs-application-framework
+9 -6
pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/default.nix
···
{
# Basic
+
stdenv,
lib,
melpaBuild,
fetchFromGitHub,
···
pythonEnv = python3.withPackages pythonPkgs;
otherPackageLists = [
-
[
-
git
-
nodejs
-
wmctrl
-
xdotool
-
]
+
(
+
[
+
git
+
nodejs
+
wmctrl
+
]
+
++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform xdotool) [ xdotool ]
+
)
]
++ appOtherDeps;
otherPkgs = builtins.concatLists (otherPackageLists);