@@ -2,7 +2,7 @@
22, intltool, spidermonkey_60 , gobject-introspection, libxslt, docbook_xsl, dbus
33, docbook_xml_dtd_412, gtk-doc, coreutils
44, useSystemd ? (stdenv.isLinux && !stdenv.hostPlatform.isMusl), systemd, elogind
5−, withGnome ? true
5+, withIntrospection ? true
66# A few tests currently fail on musl (polkitunixusertest, polkitunixgrouptest, polkitidentitytest segfault).
77# Not yet investigated; it may be due to the "Make netgroup support optional"
88# patch not updating the tests correctly yet, or doing something wrong,
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
5757 [ expat pam spidermonkey_60 ]
5858 # On Linux, fall back to elogind when systemd support is off.
5959 ++ stdenv.lib.optional stdenv.isLinux (if useSystemd then systemd else elogind)
60− ++ stdenv.lib.optional withGnome gobject-introspection;
60+ ++ stdenv.lib.optional withIntrospection gobject-introspection;
6161
6262 propagatedBuildInputs = [
6363 glib # in .pc Requires
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
8686 "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
8787 "--with-polkitd-user=polkituser" #TODO? <nixos> config.ids.uids.polkituser
8888 "--with-os-type=NixOS" # not recognized but prevents impurities on non-NixOS
89− (if withGnome then "--enable-introspection" else "--disable-introspection")
89+ (if withIntrospection then "--enable-introspection" else "--disable-introspection")
9090 ] ++ stdenv.lib.optional (!doCheck) "--disable-test";
9191
9292 makeFlags = [