Merge pull request #69184 from matthewbauer/libproxy-fix-darwin

libproxy: only wrap when pxgsettings exists
This commit is contained in:
Matthew Bauer 2019-09-21 00:25:51 -04:00 committed by GitHub
commit 60e978b483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}"
'';