diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-05 07:08:51 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-10-05 07:08:51 -0400 |
commit | a61db21b36b0bcc0331e00d7843f23c98eb00867 (patch) | |
tree | 3ca3637bb929be2d1717e5257362d93d6e06f52d /pkgs/development/libraries/polkit | |
parent | b9c5f849a479345f3659f89d0009c056639692b3 (diff) |
polkit: propagate glib
polkit-gobject-1.pc has glib in Requires, and polkit-agent-1.pc requires polkit-gobject-1.
Diffstat (limited to 'pkgs/development/libraries/polkit')
-rw-r--r-- | pkgs/development/libraries/polkit/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/polkit/default.nix b/pkgs/development/libraries/polkit/default.nix index 0d220988b15fe..466bde7f6fc88 100644 --- a/pkgs/development/libraries/polkit/default.nix +++ b/pkgs/development/libraries/polkit/default.nix @@ -40,10 +40,14 @@ stdenv.mkDerivation rec { [ glib gtk-doc pkgconfig intltool perl ] ++ [ libxslt docbook_xsl docbook_xml_dtd_412 ]; # man pages buildInputs = - [ glib expat pam spidermonkey_60 ] + [ expat pam spidermonkey_60 ] ++ stdenv.lib.optional useSystemd systemd ++ stdenv.lib.optional withGnome gobject-introspection; + propagatedBuildInputs = [ + glib # in .pc Requires + ]; + NIX_CFLAGS_COMPILE = " -Wno-deprecated-declarations "; # for polkit 0.114 and glib 2.56 preConfigure = '' |