forked from mirrors/nixpkgs
libproxy: wrap GSetings helper
Add GSettings schemas required for GNOME helper.
This commit is contained in:
parent
e9953b602c
commit
0aa934aa2d
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue