From 77ce9098c0cadc85b7c3cc6ff90f823135c40aac Mon Sep 17 00:00:00 2001 From: Bob van der Linden Date: Thu, 11 Apr 2019 15:36:21 +0800 Subject: [PATCH] keepassxc: run test with offscreen qt plugin Co-Authored-By: Quiark --- pkgs/applications/misc/keepassx/community.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix index 7d53dbb3f1f..1dbc4f64088 100644 --- a/pkgs/applications/misc/keepassx/community.nix +++ b/pkgs/applications/misc/keepassx/community.nix @@ -69,7 +69,8 @@ stdenv.mkDerivation rec { doCheck = true; checkPhase = '' export LC_ALL="en_US.UTF-8" - export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}" + export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}" + export QT_QPA_PLATFORM=offscreen make test ARGS+="-E testgui --output-on-failure" '';