3
0
Fork 0
forked from mirrors/nixpkgs

chromium: Add dependency for libselinux.

This doesn't really work at the current state of NixOS and SELinux support, but
will make it easier in case we someday support SELinux altogether.
This commit is contained in:
aszlig 2012-06-20 10:39:48 +02:00 committed by Eelco Dolstra
parent a88eb35ff1
commit c7db5ff34d

View file

@ -14,6 +14,7 @@
, krb5
, glib, gtk, gconf, libgcrypt, libgnome_keyring, dbus_glib
, libXScrnSaver, libXcursor, mesa
, libselinux
}:
let
@ -92,6 +93,7 @@ in stdenv.mkDerivation rec {
libXScrnSaver libXcursor mesa
] ++ stdenv.lib.optional config.gnomeKeyringSupport libgnome_keyring
++ stdenv.lib.optionals config.enableGnomeSupport [ gconf libgcrypt ]
++ stdenv.lib.optional config.useSELinux libselinux
++ stdenv.lib.optional config.enableCUPS libgcrypt;
opensslPatches = stdenv.lib.optional config.useOpenSSL openssl.patches;