emacs: Depend on libselinux only for Linux

This commit is contained in:
John Wiegley 2016-11-16 08:53:45 -08:00
parent 244c18c70d
commit 0bf515c973
No known key found for this signature in database
GPG Key ID: C144D8F4F19FE630

View File

@ -60,8 +60,8 @@ stdenv.mkDerivation rec {
++ lib.optionals srcRepo [ autoconf automake texinfo ];
buildInputs =
[ ncurses gconf libxml2 gnutls alsaLib acl gpm gettext libselinux ]
++ lib.optional stdenv.isLinux dbus
[ ncurses gconf libxml2 gnutls alsaLib acl gpm gettext ]
++ lib.optional stdenv.isLinux [ dbus libselinux ]
++ lib.optionals withX
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
imagemagick gconf ]