diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix index 16c90d0a1501..844d626f49e3 100644 --- a/pkgs/development/libraries/libproxy/default.nix +++ b/pkgs/development/libraries/libproxy/default.nix @@ -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; {