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 , networkmanager
, spidermonkey_38 , spidermonkey_38
, pcre , pcre
, gsettings-desktop-schemas
, glib
, makeWrapper
, python2 , python2
, python3 , python3
, SystemConfiguration , SystemConfiguration
@ -31,6 +34,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nativeBuildInputs = [
pkgconfig pkgconfig
cmake cmake
makeWrapper
]; ];
buildInputs = [ buildInputs = [
@ -43,6 +47,7 @@ stdenv.mkDerivation rec {
CoreFoundation CoreFoundation
JavaScriptCore JavaScriptCore
] else [ ] else [
glib
spidermonkey_38 spidermonkey_38
dbus dbus
networkmanager 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 doCheck = false; # fails 1 out of 10 tests
meta = with stdenv.lib; { meta = with stdenv.lib; {