From 60c62446e7ebb54adb221cac5b9db2b262166ea6 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 20 Sep 2019 23:17:57 -0400 Subject: [PATCH] libproxy: only wrap when pxgsettings exists https://hydra.nixos.org/build/100220165 --- pkgs/development/libraries/libproxy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libproxy/default.nix b/pkgs/development/libraries/libproxy/default.nix index 844d626f49e3..773acd035355 100644 --- a/pkgs/development/libraries/libproxy/default.nix +++ b/pkgs/development/libraries/libproxy/default.nix @@ -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}" '';