cups: don't build with dbus support on non-Linux platforms

svn path=/nixpkgs/trunk/; revision=31769
This commit is contained in:
Peter Simons 2012-01-21 18:46:09 +00:00
parent 364f1ce3f7
commit 33cfa26445

View File

@ -19,8 +19,8 @@ stdenv.mkDerivation {
# non-Linux platforms. This should be cleaned once the expression is
# stable.
buildInputs = [ pkgconfig zlib libjpeg libpng libtiff ]
++ stdenv.lib.optionals stdenv.isLinux [ pam ]
++ [ dbus libusb ]
++ stdenv.lib.optionals stdenv.isLinux [ pam dbus ]
++ [ libusb ]
++ stdenv.lib.optionals stdenv.isLinux [ acl ] ;
propagatedBuildInputs = [ openssl ];