libproxy: only wrap when pxgsettings exists

https://hydra.nixos.org/build/100220165
This commit is contained in:
Matthew Bauer 2019-09-20 23:17:57 -04:00
parent d8adf06d35
commit 60c62446e7

View File

@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
})
];
postFixup = ''
postFixup = stdenv.lib.optionalString stdenv.isLinux ''
# 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}"
'';