emacs: Depend on libselinux only for Linux
This commit is contained in:
parent
244c18c70d
commit
0bf515c973
1 changed files with 2 additions and 2 deletions
|
@ -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 ]
|
||||
|
|
Loading…
Reference in a new issue