From 7c3588d8ddc35909ca56394c3a5464d6e1551fe0 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 10 Feb 2019 21:40:18 -0500 Subject: [PATCH] libhandy: fix build Tests failed with: (/build/source/build/tests/test-dialog:8953): Gtk-WARNING **: 17:06:30.557: Could not find the icon 'window-close-symbolic-ltr'. The 'hicolor' theme was not found either, perhaps you need to install it. See: https://hydra.nixos.org/build/88479512 --- pkgs/development/libraries/libhandy/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libhandy/default.nix b/pkgs/development/libraries/libhandy/default.nix index 1c50a28f0a4..9fb0b776e6f 100644 --- a/pkgs/development/libraries/libhandy/default.nix +++ b/pkgs/development/libraries/libhandy/default.nix @@ -41,7 +41,8 @@ in stdenv.mkDerivation rec { doCheck = true; checkPhase = '' - export NO_AT_BRIDGE=1 + NO_AT_BRIDGE=1 \ + XDG_DATA_DIRS="$XDG_DATA_DIRS:${hicolor-icon-theme}/share" \ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \ --config-file=${dbus.daemon}/share/dbus-1/session.conf \ meson test --print-errorlogs