Merge pull request #70453 from worldofpeace/polkit-propagate-glib

polkit: propagate glib, other cleanups

authored by worldofpeace and committed by GitHub e6149855 53a97c34

+6 -4
+6 -4
pkgs/development/libraries/polkit/default.nix
··· 9 let 10 11 system = "/run/current-system/sw"; 12 - setuid = "/run/wrappers/bin"; #TODO: from <nixos> config.security.wrapperDir; 13 14 in 15 ··· 40 [ glib gtk-doc pkgconfig intltool perl ] 41 ++ [ libxslt docbook_xsl docbook_xml_dtd_412 ]; # man pages 42 buildInputs = 43 - [ glib expat pam spidermonkey_60 ] 44 ++ stdenv.lib.optional useSystemd systemd 45 ++ stdenv.lib.optional withGnome gobject-introspection; 46 47 - NIX_CFLAGS_COMPILE = " -Wno-deprecated-declarations "; # for polkit 0.114 and glib 2.56 48 49 preConfigure = '' 50 chmod +x test/mocklibc/bin/mocklibc{,-test}.in ··· 83 ]; 84 85 inherit doCheck; 86 - checkInputs = [dbus]; 87 checkPhase = '' 88 # tests need access to the system bus 89 dbus-run-session --config-file=${./system_bus.conf} -- sh -c 'DBUS_SYSTEM_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS make check'
··· 9 let 10 11 system = "/run/current-system/sw"; 12 + setuid = "/run/wrappers/bin"; 13 14 in 15 ··· 40 [ glib gtk-doc pkgconfig intltool perl ] 41 ++ [ libxslt docbook_xsl docbook_xml_dtd_412 ]; # man pages 42 buildInputs = 43 + [ expat pam spidermonkey_60 ] 44 ++ stdenv.lib.optional useSystemd systemd 45 ++ stdenv.lib.optional withGnome gobject-introspection; 46 47 + propagatedBuildInputs = [ 48 + glib # in .pc Requires 49 + ]; 50 51 preConfigure = '' 52 chmod +x test/mocklibc/bin/mocklibc{,-test}.in ··· 85 ]; 86 87 inherit doCheck; 88 + checkInputs = [ dbus ]; 89 checkPhase = '' 90 # tests need access to the system bus 91 dbus-run-session --config-file=${./system_bus.conf} -- sh -c 'DBUS_SYSTEM_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS make check'