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

authored by Lin Jian and committed by GitHub 23e0867c 10bee29e

+9 -6
+9 -6
pkgs/applications/editors/emacs/elisp-packages/manual-packages/emacs-application-framework/default.nix
··· 1 1 { 2 2 # Basic 3 + stdenv, 3 4 lib, 4 5 melpaBuild, 5 6 fetchFromGitHub, ··· 42 43 pythonEnv = python3.withPackages pythonPkgs; 43 44 44 45 otherPackageLists = [ 45 - [ 46 - git 47 - nodejs 48 - wmctrl 49 - xdotool 50 - ] 46 + ( 47 + [ 48 + git 49 + nodejs 50 + wmctrl 51 + ] 52 + ++ lib.optionals (lib.meta.availableOn stdenv.hostPlatform xdotool) [ xdotool ] 53 + ) 51 54 ] 52 55 ++ appOtherDeps; 53 56 otherPkgs = builtins.concatLists (otherPackageLists);