From 0ae5a9688b02f8b68bb6ce52d844f19e97bee662 Mon Sep 17 00:00:00 2001 From: Atemu Date: Mon, 17 Jan 2022 12:26:37 +0100 Subject: [PATCH] emacs: move Linux-only buildInputs where they belong --- pkgs/applications/editors/emacs/generic.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 9e3280d34ec8..1b3eed84b84e 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -139,8 +139,8 @@ let emacs = (if withMacport then llvmPackages_6.stdenv else stdenv).mkDerivation ++ lib.optional (withX && (withGTK3 || withXwidgets)) wrapGAppsHook; buildInputs = - [ ncurses gconf libxml2 gnutls alsa-lib acl gpm gettext jansson harfbuzz.dev ] - ++ lib.optionals stdenv.isLinux [ dbus libselinux systemd ] + [ ncurses gconf libxml2 gnutls gettext jansson harfbuzz.dev ] + ++ lib.optionals stdenv.isLinux [ dbus libselinux systemd alsa-lib acl gpm ] ++ lib.optionals withX [ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg giflib libtiff libXft gconf cairo ]