libproxy: wrap GSetings helper

Add GSettings schemas required for GNOME helper.
This commit is contained in:
Jan Tojnar 2019-09-02 22:39:24 +02:00
parent e9953b602c
commit 0aa934aa2d
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -8,6 +8,9 @@
, networkmanager
, spidermonkey_38
, pcre
, gsettings-desktop-schemas
, glib
, makeWrapper
, python2
, python3
, SystemConfiguration
@ -31,6 +34,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig
cmake
makeWrapper
];
buildInputs = [
@ -43,6 +47,7 @@ stdenv.mkDerivation rec {
CoreFoundation
JavaScriptCore
] else [
glib
spidermonkey_38
dbus
networkmanager
@ -61,6 +66,11 @@ stdenv.mkDerivation rec {
})
];
postFixup = ''
# config_gnome3 uses the helper to find GNOME proxy settings
wrapProgram $out/libexec/pxgsettings --prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}"
'';
doCheck = false; # fails 1 out of 10 tests
meta = with stdenv.lib; {